Home
last modified time | relevance | path

Searched refs:OptionType (Results 1 – 3 of 3) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core/
DChannelOptions.cs37 public enum OptionType enum in Grpc.Core.ChannelOption
50 private readonly OptionType type;
62 this.type = OptionType.String; in ChannelOption()
74 this.type = OptionType.Integer; in ChannelOption()
82 public OptionType Type
108 GrpcPreconditions.CheckState(type == OptionType.Integer);
120 GrpcPreconditions.CheckState(type == OptionType.String);
232 if (option.Type == ChannelOption.OptionType.Integer) in CreateChannelArgs()
236 else if (option.Type == ChannelOption.OptionType.String) in CreateChannelArgs()
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DChannelOptionsTest.cs35 Assert.AreEqual(ChannelOption.OptionType.Integer, option.Type); in IntOption()
46 Assert.AreEqual(ChannelOption.OptionType.String, option.Type); in StringOption()
/third_party/node/src/
Dnode_options.h277 enum OptionType { enum
424 OptionType type;
434 OptionType type;