public BindingConfiguration(BindingConfigurationElement binding)
     : this(binding.Url, binding.Scheme, binding.SiteType, binding.Certificate, binding.RequireSni)
 {
 }
Exemplo n.º 2
0
 public BindingsConfigurationElementCollectionFake AddFake(BindingConfigurationElement element)
 {
     base.Add(element);
     return(this);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Binds a service type to a concrete implementation type.
 /// </summary>
 /// <param name="binding">The binding containing the service and implementation types.</param>
 /// <returns>
 /// Returns the binding for the contract.
 /// </returns>
 protected abstract IBindingNamedWithOrOnSyntax <object> BindType(BindingConfigurationElement binding);