2 instantiations of InstrumentationClassAttribute
System.Management (2)
Instrumentation\Instrumentation.cs (2)
757
[
InstrumentationClass
(InstrumentationType.Event)]
892
[
InstrumentationClass
(InstrumentationType.Instance)]
15 references to InstrumentationClassAttribute
System.Management (15)
Instrumentation\Attributes.cs (13)
174
Type parentType =
InstrumentationClassAttribute
.GetBaseInstrumentationType(childType) ;
191
return (null !=
InstrumentationClassAttribute
.GetAttribute(type));
302
/// of the <see cref='System.Management.Instrumentation.
InstrumentationClassAttribute
'/> class.
305
/// <para>Initializes a new instance of the <see cref='System.Management.Instrumentation.
InstrumentationClassAttribute
'/> class that is used if this type is derived from another type that has the <see cref='System.Management.Instrumentation.
InstrumentationClassAttribute
'/> attribute, or if this is a
316
/// <para>Initializes a new instance of the <see cref='System.Management.Instrumentation.
InstrumentationClassAttribute
'/> class that
361
internal static
InstrumentationClassAttribute
GetAttribute(Type type)
368
Object [] rg = type.GetCustomAttributes(typeof(
InstrumentationClassAttribute
), true);
370
return ((
InstrumentationClassAttribute
)rg[0]);
439
InstrumentationClassAttribute
attr =
InstrumentationClassAttribute
.GetAttribute(type);
445
InstrumentationClassAttribute
attrParent =
InstrumentationClassAttribute
.GetAttribute(type.BaseType);
Instrumentation\Instrumentation.cs (1)
305
object[] attributes = type.GetCustomAttributes(typeof(System.Management.Instrumentation.
InstrumentationClassAttribute
), true);
Instrumentation\SchemaMapping.cs (1)
51
instrumentationType =
InstrumentationClassAttribute
.GetAttribute(type).InstrumentationType;