Mercurial > pub > ImplabNet
diff Implab/Diagnostics/TraceSourceAttribute.cs @ 212:a01d9df88d74 v2
Added class Trace<T> to manage channels for individual classes, if SomeClass
uses Trace<SomeClass> it sould be marked with TraceSourceAttribute
author | cin |
---|---|
date | Tue, 04 Apr 2017 12:04:05 +0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab/Diagnostics/TraceSourceAttribute.cs Tue Apr 04 12:04:05 2017 +0300 @@ -0,0 +1,10 @@ +using System; + +namespace Implab.Diagnostics { + /// <summary> + /// Used to mark class which uses <see cref="Trace{T}"/> class to trace it's events + /// </summary> + [AttributeUsage(AttributeTargets.Class)] + public class TraceSourceAttribute : Attribute { + } +}