Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="type"></param>
 public ChannelProviderConfig(string name, Type type)
 {
     Name = name;
     Type = RpcConfigHelper.GetTypeIdentifier(type);
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="type"></param>
 /// <param name="address"></param>
 public RegistryConfig(string name, Type type, string address)
 {
     Name    = name;
     Type    = RpcConfigHelper.GetTypeIdentifier(type);
     Address = address;
 }
Exemple #3
0
        //public IDictionary<string,string> Items { get; set; }

        /// <summary>
        ///
        /// </summary>
        /// <param name="name"></param>
        /// <param name="type"></param>
        public InvokerConfig(string name, Type type)
        {
            Name = name;
            Type = RpcConfigHelper.GetTypeIdentifier(type);
        }
Exemple #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="type"></param>
 public FilterItemConfig(string name, Type type)
 {
     Name = name;
     Type = RpcConfigHelper.GetTypeIdentifier(type);
 }
Exemple #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="type"></param>
 /// <param name="path"></param>
 public ServiceConfigItem(string name, Type type, string path)
 {
     Name = name;
     Type = RpcConfigHelper.GetTypeIdentifier(type);
     Path = path;
 }
Exemple #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="type"></param>
 public ServiceMapperConfig(string name, Type type)
 {
     Name = name;
     Type = RpcConfigHelper.GetTypeIdentifier(type);
 }
Exemple #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name">service name</param>
 /// <param name="type">contract type</param>
 /// <param name="address"></param>
 public ClientConfigItem(string name, Type type, string address)
 {
     Name    = name;
     Type    = RpcConfigHelper.GetTypeIdentifier(type);
     Address = address;
 }