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; }
internal CommandBinder(RESPCommandLiteral header, Boolean isSubscription) { Header = header; IsSubscription = isSubscription; Parts = new List <RESPCommandPart>(); }