WSHttpContextBinding(WSHttpBinding wsHttpBinding) { WSHttpContextBindingPropertyTransferHelper helper = new WSHttpContextBindingPropertyTransferHelper(); helper.InitializeFrom(wsHttpBinding); helper.SetBindingElementType(typeof(WSHttpContextBinding)); helper.ApplyConfiguration(this); }
private WSHttpContextBinding(WSHttpBinding wsHttpBinding) { this.contextProtectionLevel = ProtectionLevel.Sign; this.contextManagementEnabled = true; WSHttpContextBindingPropertyTransferHelper helper = new WSHttpContextBindingPropertyTransferHelper(); helper.InitializeFrom(wsHttpBinding); helper.SetBindingElementType(typeof(WSHttpContextBinding)); helper.ApplyConfiguration(this); }