📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <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.LWordServiceRef
{
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 LWordServiceClient : ClientBase<ILWordService>, ILWordService
{
// 活动用户名称
private string m_actor = null;
#region 类构造器
public LWordServiceClient()
{
}
public LWordServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public LWordServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public LWordServiceClient(string endpointConfigurationName, EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public LWordServiceClient(Binding binding, EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
#endregion
public void Append(LWord newLWord)
{
using (OperationContextScope scope = new OperationContextScope(base.InnerChannel))
{
OperationContext.Current.OutgoingMessageHeaders.Add(
MessageHeader.CreateHeader("Actor", "NET.AfritXia", this.Actor));
base.Channel.Append(newLWord);
}
}
public void Delete(int lwordUID)
{
using (OperationContextScope scope = new OperationContextScope(base.InnerChannel))
{
OperationContext.Current.OutgoingMessageHeaders.Add(
MessageHeader.CreateHeader("Actor", "NET.AfritXia", this.Actor));
base.Channel.Delete(lwordUID);
}
}
public IList<LWord> ViewLWordList(int startRecord, int maxRecords, out int allRecordCount)
{
using (OperationContextScope scope = new OperationContextScope(base.InnerChannel))
{
OperationContext.Current.OutgoingMessageHeaders.Add(
MessageHeader.CreateHeader("Actor", "NET.AfritXia", this.Actor));
return base.Channel.ViewLWordList(startRecord, maxRecords, out allRecordCount);
}
}
public string Actor
{
set
{
this.m_actor = value;
}
get
{
return this.m_actor;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -