- MyCache.zip
- MyCache
- Data
- Lib
- Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll
- Microsoft.Practices.EnterpriseLibrary.Caching.Database.dll
- Microsoft.Practices.EnterpriseLibrary.Caching.dll
- Microsoft.Practices.EnterpriseLibrary.Common.dll
- Microsoft.Practices.EnterpriseLibrary.Data.dll
- Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll
- Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.xml
- Microsoft.Practices.ObjectBuilder2.dll
- MyCache.sln
- MyCacheAPI
- MyCacheService
- App_Data
- aspnet_client
- system_web
- 4_0_30319
- bin
- Microsoft.Practices.EnterpriseLibrary.Caching.dll
- Microsoft.Practices.EnterpriseLibrary.Common.dll
- Microsoft.Practices.ObjectBuilder2.dll
- MyCacheService.dll
- MyCacheServiceLib.dll
- CacheService.svc
- MyCacheService.csproj
- MyCacheService.csproj.user
- obj
- Debug
- TempPE
- Release
- TempPE
- Properties
- web.config
- Web.Debug.config
- Web.Release.config
- MyCacheServiceLib
- bin
- Debug
- Microsoft.Practices.EnterpriseLibrary.Caching.dll
- Microsoft.Practices.EnterpriseLibrary.Common.dll
- Microsoft.Practices.ObjectBuilder2.dll
- MyCacheServiceLib.dll
- Release
- Microsoft.Practices.EnterpriseLibrary.Caching.dll
- Microsoft.Practices.EnterpriseLibrary.Common.dll
- Microsoft.Practices.ObjectBuilder2.dll
- SimpleCacheLib.dll
- CacheEntry.cs
- CacheService.cs
- ICacheService.cs
- LockManager.cs
- MyCacheServiceLib.csproj
- MyCacheServiceLib.csproj.user
- obj
- Debug
- TempPE
- Release
- TempPE
- Properties
- SimpleCacheLib.csproj.user
- Site1
- Site2
- Site3
- Site4
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MyCacheAPI.CacheService {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="CacheService.ICacheService", SessionMode=System.ServiceModel.SessionMode.Required)]
public interface ICacheService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/Add", ReplyAction="http://tempuri.org/ICacheService/AddResponse")]
void Add(string Key, object Value);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/Insert", ReplyAction="http://tempuri.org/ICacheService/InsertResponse")]
void Insert(string Key, object Value, string DependencyFilePath, string Priority, System.DateTime AbsoluteExpiration, System.TimeSpan SlidingExpiration);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/Remove", ReplyAction="http://tempuri.org/ICacheService/RemoveResponse")]
void Remove(string Key);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/Get", ReplyAction="http://tempuri.org/ICacheService/GetResponse")]
object Get(string Key);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/Exists", ReplyAction="http://tempuri.org/ICacheService/ExistsResponse")]
bool Exists(string Key);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/SetLock", ReplyAction="http://tempuri.org/ICacheService/SetLockResponse")]
bool SetLock(string Key);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICacheService/ReleaseLock", ReplyAction="http://tempuri.org/ICacheService/ReleaseLockResponse")]
void ReleaseLock(string Key);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ICacheServiceChannel : MyCacheAPI.CacheService.ICacheService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class CacheServiceClient : System.ServiceModel.ClientBase<MyCacheAPI.CacheService.ICacheService>, MyCacheAPI.CacheService.ICacheService {
public CacheServiceClient() {
}
public CacheServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public CacheServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CacheServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CacheServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public void Add(string Key, object Value) {
base.Channel.Add(Key, Value);
}
public void Insert(string Key, object Value, string DependencyFilePath, string Priority, System.DateTime AbsoluteExpiration, System.TimeSpan SlidingExpiration) {
base.Channel.Insert(Key, Value, DependencyFilePath, Priority, AbsoluteExpiration, SlidingExpiration);
}
public void Remove(string Key) {
base.Channel.Remove(Key);
}
public object Get(string Key) {
return base.Channel.Get(Key);
}
public bool Exists(string Key) {
return base.Channel.Exists(Key);
}
public bool SetLock(string Key) {
return base.Channel.SetLock(Key);
}
public void ReleaseLock(string Key) {
base.Channel.ReleaseLock(Key);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.