コード例 #1
0
ファイル: RESPCommand.cs プロジェクト: vtortola/RedisClient
 internal RESPCommand(RESPCommandLiteral header, Boolean isSubscriptionCommand, Int32?capacity = null)
 {
     _parts  = capacity.HasValue ? new List <RESPCommandPart>(capacity.Value) : new List <RESPCommandPart>();
     _header = header;
     _parts.Add(header);
     IsSubscription = isSubscriptionCommand;
 }
コード例 #2
0
 internal CommandBinder(RESPCommandLiteral header, Boolean isSubscription)
 {
     Header         = header;
     IsSubscription = isSubscription;
     Parts          = new List <RESPCommandPart>();
 }