Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PropertyAnalysis.cs
Go to the documentation of this file.
1
using
System.Reflection
;
2
3
namespace
System.Diagnostics.Tracing
;
4
5
internal
sealed
class
PropertyAnalysis
6
{
7
internal
readonly
string
name
;
8
9
internal
readonly
PropertyInfo
propertyInfo
;
10
11
internal
readonly Func<PropertyValue, PropertyValue>
getter
;
12
13
internal
readonly
TraceLoggingTypeInfo
typeInfo
;
14
15
internal
readonly
EventFieldAttribute
fieldAttribute
;
16
17
public
PropertyAnalysis
(
string
name
,
PropertyInfo
propertyInfo
,
TraceLoggingTypeInfo
typeInfo
,
EventFieldAttribute
fieldAttribute
)
18
{
19
this.name =
name
;
20
this.propertyInfo =
propertyInfo
;
21
getter
=
PropertyValue
.
GetPropertyGetter
(
propertyInfo
);
22
this.typeInfo =
typeInfo
;
23
this.fieldAttribute =
fieldAttribute
;
24
}
25
}
System.Diagnostics.Tracing.EventFieldAttribute
Definition
EventFieldAttribute.cs:5
System.Diagnostics.Tracing.PropertyAnalysis.name
readonly string name
Definition
PropertyAnalysis.cs:7
System.Diagnostics.Tracing.PropertyAnalysis.PropertyAnalysis
PropertyAnalysis(string name, PropertyInfo propertyInfo, TraceLoggingTypeInfo typeInfo, EventFieldAttribute fieldAttribute)
Definition
PropertyAnalysis.cs:17
System.Diagnostics.Tracing.PropertyAnalysis.getter
readonly Func< PropertyValue, PropertyValue > getter
Definition
PropertyAnalysis.cs:11
System.Diagnostics.Tracing.PropertyAnalysis.fieldAttribute
readonly EventFieldAttribute fieldAttribute
Definition
PropertyAnalysis.cs:15
System.Diagnostics.Tracing.PropertyAnalysis.typeInfo
readonly TraceLoggingTypeInfo typeInfo
Definition
PropertyAnalysis.cs:13
System.Diagnostics.Tracing.PropertyAnalysis.propertyInfo
readonly PropertyInfo propertyInfo
Definition
PropertyAnalysis.cs:9
System.Diagnostics.Tracing.PropertyAnalysis
Definition
PropertyAnalysis.cs:6
System.Diagnostics.Tracing.TraceLoggingTypeInfo
Definition
TraceLoggingTypeInfo.cs:7
System.Reflection.PropertyInfo
Definition
PropertyInfo.cs:8
System.Diagnostics.Tracing
Definition
ActivityTracker.cs:4
System.Reflection
Definition
ICustomTypeProvider.cs:1
System.Diagnostics.Tracing.PropertyValue.GetPropertyGetter
static Func< PropertyValue, PropertyValue > GetPropertyGetter(PropertyInfo property)
Definition
PropertyValue.cs:451
System.Diagnostics.Tracing.PropertyValue
Definition
PropertyValue.cs:7
source
System.Private.CoreLib
System.Diagnostics.Tracing
PropertyAnalysis.cs
Generated by
1.10.0