WSDualHttpSecurity(WSDualHttpSecurityMode mode, MessageSecurityOverHttp messageSecurity) { Fx.Assert(WSDualHttpSecurityModeHelper.IsDefined(mode), string.Format("Invalid WSDualHttpSecurityMode value: {0}", mode.ToString())); this.mode = mode; this.messageSecurity = messageSecurity == null ? new MessageSecurityOverHttp() : messageSecurity; }
internal static bool IsDefined(WSDualHttpSecurityMode value) { if (value != WSDualHttpSecurityMode.None) { return(value == WSDualHttpSecurityMode.Message); } return(true); }
internal static bool IsDefined(WSDualHttpSecurityMode value) { if (value != WSDualHttpSecurityMode.None) { return (value == WSDualHttpSecurityMode.Message); } return true; }
public WSDualHttpBinding(WSDualHttpSecurityMode securityMode) { security = new WSDualHttpSecurity(securityMode); }
public WSDualHttpBinding (WSDualHttpSecurityMode securityMode) { security = new WSDualHttpSecurity (securityMode); }
internal WSDualHttpSecurity(WSDualHttpSecurityMode mode) { this.Mode = mode; message = new MessageSecurityOverHttp(); }
public WSDualHttpBinding(WSDualHttpSecurityMode securityMode) : this() { this.security.Mode = securityMode; }
public WSDualHttpBinding(WSDualHttpSecurityMode securityMode) { }
private WSDualHttpSecurity(WSDualHttpSecurityMode mode, MessageSecurityOverHttp messageSecurity) { this.mode = mode; this.messageSecurity = (messageSecurity == null) ? new MessageSecurityOverHttp() : messageSecurity; }
protected WSDualHttpBinding(WSDualHttpSecurityMode securityMode) { security = new WSDualHttpSecurity(securityMode); }
internal WSDualHttpSecurity (WSDualHttpSecurityMode mode) { this.Mode = mode; message = new MessageSecurityOverHttp (); }
protected WSDualHttpBinding (WSDualHttpSecurityMode securityMode) { security = new WSDualHttpSecurity (securityMode); }