- Speichern - Locking (noch nicht funktional) - Visit-Id anfordern (noch nicht funktional) - neuer Splashscreen
180 lines
8.5 KiB
C#
180 lines
8.5 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace ENI2.LockingServiceReference {
|
|
using System.Runtime.Serialization;
|
|
using System;
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
|
[System.Runtime.Serialization.DataContractAttribute(Name="CoreLock", Namespace="http://schemas.datacontract.org/2004/07/bsmd.LockingService")]
|
|
[System.SerializableAttribute()]
|
|
public partial class CoreLock : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private System.Guid CoreIdField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string UserIdField;
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
get {
|
|
return this.extensionDataField;
|
|
}
|
|
set {
|
|
this.extensionDataField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public System.Guid CoreId {
|
|
get {
|
|
return this.CoreIdField;
|
|
}
|
|
set {
|
|
if ((this.CoreIdField.Equals(value) != true)) {
|
|
this.CoreIdField = value;
|
|
this.RaisePropertyChanged("CoreId");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string UserId {
|
|
get {
|
|
return this.UserIdField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.UserIdField, value) != true)) {
|
|
this.UserIdField = value;
|
|
this.RaisePropertyChanged("UserId");
|
|
}
|
|
}
|
|
}
|
|
|
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected void RaisePropertyChanged(string propertyName) {
|
|
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
|
if ((propertyChanged != null)) {
|
|
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="LockingServiceReference.IService")]
|
|
public interface IService {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Lock", ReplyAction="http://tempuri.org/IService/LockResponse")]
|
|
string Lock(System.Guid messageCoreId, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Lock", ReplyAction="http://tempuri.org/IService/LockResponse")]
|
|
System.Threading.Tasks.Task<string> LockAsync(System.Guid messageCoreId, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Unlock", ReplyAction="http://tempuri.org/IService/UnlockResponse")]
|
|
void Unlock(System.Guid messageCoreId, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Unlock", ReplyAction="http://tempuri.org/IService/UnlockResponse")]
|
|
System.Threading.Tasks.Task UnlockAsync(System.Guid messageCoreId, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetLocks", ReplyAction="http://tempuri.org/IService/GetLocksResponse")]
|
|
ENI2.LockingServiceReference.CoreLock[] GetLocks();
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetLocks", ReplyAction="http://tempuri.org/IService/GetLocksResponse")]
|
|
System.Threading.Tasks.Task<ENI2.LockingServiceReference.CoreLock[]> GetLocksAsync();
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/LockRefresh", ReplyAction="http://tempuri.org/IService/LockRefreshResponse")]
|
|
void LockRefresh(System.Guid[] currentLocks, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/LockRefresh", ReplyAction="http://tempuri.org/IService/LockRefreshResponse")]
|
|
System.Threading.Tasks.Task LockRefreshAsync(System.Guid[] currentLocks, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Log", ReplyAction="http://tempuri.org/IService/LogResponse")]
|
|
void Log(string msg, string host, string userId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Log", ReplyAction="http://tempuri.org/IService/LogResponse")]
|
|
System.Threading.Tasks.Task LogAsync(string msg, string host, string userId);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface IServiceChannel : ENI2.LockingServiceReference.IService, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class ServiceClient : System.ServiceModel.ClientBase<ENI2.LockingServiceReference.IService>, ENI2.LockingServiceReference.IService {
|
|
|
|
public ServiceClient() {
|
|
}
|
|
|
|
public ServiceClient(string endpointConfigurationName) :
|
|
base(endpointConfigurationName) {
|
|
}
|
|
|
|
public ServiceClient(string endpointConfigurationName, string remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public ServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public ServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress) {
|
|
}
|
|
|
|
public string Lock(System.Guid messageCoreId, string userId) {
|
|
return base.Channel.Lock(messageCoreId, userId);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<string> LockAsync(System.Guid messageCoreId, string userId) {
|
|
return base.Channel.LockAsync(messageCoreId, userId);
|
|
}
|
|
|
|
public void Unlock(System.Guid messageCoreId, string userId) {
|
|
base.Channel.Unlock(messageCoreId, userId);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task UnlockAsync(System.Guid messageCoreId, string userId) {
|
|
return base.Channel.UnlockAsync(messageCoreId, userId);
|
|
}
|
|
|
|
public ENI2.LockingServiceReference.CoreLock[] GetLocks() {
|
|
return base.Channel.GetLocks();
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<ENI2.LockingServiceReference.CoreLock[]> GetLocksAsync() {
|
|
return base.Channel.GetLocksAsync();
|
|
}
|
|
|
|
public void LockRefresh(System.Guid[] currentLocks, string userId) {
|
|
base.Channel.LockRefresh(currentLocks, userId);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task LockRefreshAsync(System.Guid[] currentLocks, string userId) {
|
|
return base.Channel.LockRefreshAsync(currentLocks, userId);
|
|
}
|
|
|
|
public void Log(string msg, string host, string userId) {
|
|
base.Channel.Log(msg, host, userId);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task LogAsync(string msg, string host, string userId) {
|
|
return base.Channel.LogAsync(msg, host, userId);
|
|
}
|
|
}
|
|
}
|