reference.cs
来自「该项目中对 SQLHelper 类进行了简单封装」· CS 代码 · 共 81 行
CS
81 行
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NET.AfritXia.MyHome.HomeManagement.HomeAppServer.HomeAdminServiceRef
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.ServiceModel;
using System.ServiceModel.Channels;
using NET.AfritXia.MyHome.Model.Message;
using NET.AfritXia.MyHome.ServiceInterface;
[DebuggerStepThroughAttribute()]
[GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class HomeAdminServiceClient : ClientBase<IHomeAdminService>, IHomeAdminService
{
// 活动用户名称
private string m_actor = null;
#region 类构造器
public HomeAdminServiceClient()
{
}
public HomeAdminServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public HomeAdminServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public HomeAdminServiceClient(string endpointConfigurationName, EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public HomeAdminServiceClient(Binding binding, EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
#endregion
public bool LoginValidate(string nickName, string md5pwd)
{
using (OperationContextScope scope = new OperationContextScope(base.InnerChannel))
{
OperationContext.Current.OutgoingMessageHeaders.Add(
MessageHeader.CreateHeader("Actor", "NET.AfritXia", this.Actor));
return base.Channel.LoginValidate(nickName, md5pwd);
}
}
public string Actor
{
set
{
this.m_actor = value;
}
get
{
return this.m_actor;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?