コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
 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;
 }
コード例 #5
0
 public WSDualHttpBinding(WSDualHttpSecurityMode securityMode)
 {
     security = new WSDualHttpSecurity(securityMode);
 }
コード例 #6
0
		public WSDualHttpBinding (WSDualHttpSecurityMode securityMode)
		{
			security = new WSDualHttpSecurity (securityMode);
		}
コード例 #7
0
 internal WSDualHttpSecurity(WSDualHttpSecurityMode mode)
 {
     this.Mode = mode;
     message   = new MessageSecurityOverHttp();
 }
 public WSDualHttpBinding(WSDualHttpSecurityMode securityMode) : this()
 {
     this.security.Mode = securityMode;
 }
 public WSDualHttpBinding(WSDualHttpSecurityMode securityMode)
 {
 }
コード例 #10
0
 private WSDualHttpSecurity(WSDualHttpSecurityMode mode, MessageSecurityOverHttp messageSecurity)
 {
     this.mode            = mode;
     this.messageSecurity = (messageSecurity == null) ? new MessageSecurityOverHttp() : messageSecurity;
 }
コード例 #11
0
 protected WSDualHttpBinding(WSDualHttpSecurityMode securityMode)
 {
     security = new WSDualHttpSecurity(securityMode);
 }
 private WSDualHttpSecurity(WSDualHttpSecurityMode mode, MessageSecurityOverHttp messageSecurity)
 {
     this.mode = mode;
     this.messageSecurity = (messageSecurity == null) ? new MessageSecurityOverHttp() : messageSecurity;
 }
コード例 #13
0
 public WSDualHttpBinding(WSDualHttpSecurityMode securityMode)
     : this()
 {
     this.security.Mode = securityMode;
 }
コード例 #14
0
ファイル: WSDualHttpSecurity.cs プロジェクト: nickchal/pash
		internal WSDualHttpSecurity (WSDualHttpSecurityMode mode)
		{
			this.Mode = mode;
			message = new MessageSecurityOverHttp ();
		}
コード例 #15
0
ファイル: WSDualHttpBinding.cs プロジェクト: nickchal/pash
		protected WSDualHttpBinding (WSDualHttpSecurityMode securityMode)
		{
			security = new WSDualHttpSecurity (securityMode);
		}
 public WSDualHttpBinding(WSDualHttpSecurityMode securityMode)
 {
 }