public virtual bool CanBuildChannelListener <TChannel>(BindingContext context) where TChannel : class, IChannel { if (context == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context"); } return(context.CanBuildInnerChannelListener <TChannel>()); }
public override bool CanBuildChannelListener <TChannel>(BindingContext context) { if (context == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context"); } context.BindingParameters.Add(this); return(context.CanBuildInnerChannelListener <TChannel>()); }
internal bool InternalCanBuildChannelListener <TChannel>(BindingContext context) where TChannel : class, IChannel { if (context == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(context)); } context.BindingParameters.Add(this); return(context.CanBuildInnerChannelListener <TChannel>()); }
public virtual bool CanBuildChannelListener <TChannel>(BindingParameterCollection parameters) where TChannel : class, IChannel { BindingContext context = new BindingContext(new CustomBinding(this), parameters); return(context.CanBuildInnerChannelListener <TChannel>()); }