📄 aspectproperty.cs
字号:
//
// Write by Peopleyl 2007-04-13
//
using System;
using System.Runtime.Remoting.Contexts;
using System.Runtime.Remoting.Messaging;
namespace Aspect.AopBase
{
public class AspectProperty : IContextProperty,IContributeServerContextSink
{
#region AspectProperty Members
private string aopPropertyName;
public AspectProperty(string aopPropertyName)
{
this.aopPropertyName = aopPropertyName;
}
#endregion
#region IContextProperty Members
public string Name
{
get{return aopPropertyName;}
}
public virtual void Freeze(Context context)
{
return;
}
public virtual bool IsNewContextOK(Context context)
{
return true;
}
#endregion
#region IContributeServerContextSink Members
public virtual IMessageSink GetServerContextSink(IMessageSink nextSink)
{
return null;
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -