C# 클래스 NCop.Weaving.ReflectionUtils

파일 보기 프로젝트 열기: sagifogel/NCop

공개 메소드들

메소드 설명
DefineEvent ( this typeBuilder, EventInfo @event, EventAttributes attributes = null ) : EventBuilder
DefineMethod ( this typeBuilder, MethodInfo method, MethodAttributes attributes = null, ParameterInfo parameters = null ) : MethodBuilder
DefineProperty ( this typeBuilder, PropertyInfo property, PropertyAttributes attributes = null ) : PropertyBuilder
DefineType ( this parentType, string name = null, IEnumerable interfaces = null, TypeAttributes attributes = null ) : TypeBuilder
ToFieldName ( this type ) : string
ToUniqueName ( this name ) : string

비공개 메소드들

메소드 설명
ContainsGenericParameters ( this type, Type &arguments ) : bool
DefineField ( this typeBuilder, Type fieldType, string fieldName = null, FieldAttributes attributes = null ) : FieldBuilder
DefineParameterlessMethod ( this typeBuilder, MethodInfo method, MethodAttributes attributes = null ) : MethodBuilder
GetNonNullableType ( this type ) : Type
IsEquivalentTo ( this type1, Type type2 ) : bool
IsFloatingPoint ( this type ) : bool
IsInt32OrInt64 ( this type ) : bool
IsNullableType ( this type ) : bool
IsNumeric ( this type ) : bool
IsPrimitive ( this type ) : bool
IsSingleOrDouble ( this type ) : bool
IsUnsigned ( this type ) : bool

메소드 상세

DefineEvent() 공개 정적인 메소드

public static DefineEvent ( this typeBuilder, EventInfo @event, EventAttributes attributes = null ) : EventBuilder
typeBuilder this
@event System.Reflection.EventInfo
attributes EventAttributes
리턴 System.Reflection.Emit.EventBuilder

DefineMethod() 공개 정적인 메소드

public static DefineMethod ( this typeBuilder, MethodInfo method, MethodAttributes attributes = null, ParameterInfo parameters = null ) : MethodBuilder
typeBuilder this
method System.Reflection.MethodInfo
attributes MethodAttributes
parameters System.Reflection.ParameterInfo
리턴 System.Reflection.Emit.MethodBuilder

DefineProperty() 공개 정적인 메소드

public static DefineProperty ( this typeBuilder, PropertyInfo property, PropertyAttributes attributes = null ) : PropertyBuilder
typeBuilder this
property System.Reflection.PropertyInfo
attributes PropertyAttributes
리턴 System.Reflection.Emit.PropertyBuilder

DefineType() 공개 정적인 메소드

public static DefineType ( this parentType, string name = null, IEnumerable interfaces = null, TypeAttributes attributes = null ) : TypeBuilder
parentType this
name string
interfaces IEnumerable
attributes TypeAttributes
리턴 System.Reflection.Emit.TypeBuilder

ToFieldName() 공개 정적인 메소드

public static ToFieldName ( this type ) : string
type this
리턴 string

ToUniqueName() 공개 정적인 메소드

public static ToUniqueName ( this name ) : string
name this
리턴 string