G
Guest
Hi,
is it possible to use custom context-attributes with serviced components?
[AttributeUsage(AttributeTargets.Class)]
public class Logging : ContextAttribute
{
public Logging() {...}
public override void GetPropertiesForNewContext(IConstructionCallMessage
ctorMsg) {...}
}
[Logging]
public class LogMe : ServicedComponent
{
}
Thanks in advance,
Stefan
is it possible to use custom context-attributes with serviced components?
[AttributeUsage(AttributeTargets.Class)]
public class Logging : ContextAttribute
{
public Logging() {...}
public override void GetPropertiesForNewContext(IConstructionCallMessage
ctorMsg) {...}
}
[Logging]
public class LogMe : ServicedComponent
{
}
Thanks in advance,
Stefan