Exemplo n.º 1
0
        private static async Task WriteBool(short id, bool value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.Bool, id), System.Threading.CancellationToken.None);

            await _thrift.WriteBoolAsync(value, System.Threading.CancellationToken.None);
        }
Exemplo n.º 2
0
        private static async Task WriteBool(short id, bool value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.Bool, id));

            await _thrift.WriteBoolAsync(value);
        }