Click or drag to resize

VGReflectionHelper Class

Helper class for reflection.

Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.SecurityVGReflectionHelper

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
public sealed class VGReflectionHelper

The VGReflectionHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberReflectionEmitAllowed
Indicates whether reflection emit is allowed by CAS
Public propertyStatic memberReflectionOnPrivateMember
Indicates whether reflection is allowed by CAS for private member
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAssociatedPropertyInfo
Gets the name of the property used to access to the given FieldInfo.
Public methodStatic memberGetEventArgsParameter(EventInfo)
Gets the event arguments of the specified event
Public methodStatic memberGetEventArgsParameter(Type, String)
Gets the event arguments of the specified event
Public methodStatic memberCode exampleGetEventInfo
Gets an EventInfo object representing the event with the specified name for the specified target.
Public methodStatic memberGetField
Gets an object representing the field with the specified name for the specified target.
Public methodStatic memberCode exampleGetFieldOrPropertyInfo
Gets a MemberInfo object representing a field or a property of the specified target with the specified name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetProperty
Gets a property by using Bindingflags appropriate to the security permission of reflection
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUndecoratedFieldName
Gets the name of the property used to access to the given FieldInfo.
Public methodStatic memberIsAccessedThroughProperty
Checks whether a field should be accessed through a property.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberResolveAmbigousProperty
Resolve the ambiguity of specified property for the specified type
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also