public RemoveByTagCommand(string[] tags, TagComparisonType comparisonType, int methodOverload) { base.name = "RemoveByTagCommand"; _removeTagCommand = new Alachisoft.NCache.Common.Protobuf.RemoveByTagCommand(); _removeTagCommand.tags.AddRange(tags); _removeTagCommand.tagComparisonType = (int)comparisonType; _removeTagCommand.requestId = base.RequestId; _methodOverload = methodOverload; }
//PROTOBUF private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager) { CommandInfo cmdInfo = new CommandInfo(); Alachisoft.NCache.Common.Protobuf.RemoveByTagCommand removeTagCommand = command.removeByTagCommand; cmdInfo.RequestId = removeTagCommand.requestId.ToString(); cmdInfo.Tags = removeTagCommand.tags.ToArray(); cmdInfo.ComparisonType = (TagComparisonType)removeTagCommand.tagComparisonType; cmdInfo.ClientLastViewId = command.clientLastViewId; return(cmdInfo); }