ServiceStack.Redis.RedisNativeClient.LInsert C# (CSharp) Method

LInsert() public method

public LInsert ( string listId, bool insertBefore, byte pivot, byte value ) : void
listId string
insertBefore bool
pivot byte
value byte
return void
        public void LInsert(string listId, bool insertBefore, byte[] pivot, byte[] value)
        {
            if (listId == null)
                throw new ArgumentNullException("listId");

            var position = insertBefore ? Commands.Before : Commands.After;

            SendExpectSuccess(Commands.LInsert, listId.ToUtf8Bytes(), position, pivot, value);
        }
RedisNativeClient