C# 클래스 DefaultNamespace.BaseGenerator

파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allowAbbreviations bool
beQuiet bool
defaultAbbreviation TypeNames
lineSeparator string
showAdvancedness bool
showFullNames bool
showInherited bool
showModule bool
showPackage bool
showPrivate bool
showProtected bool
showPublic bool

공개 메소드들

메소드 설명
AbbreviateName ( String name, String search, String replace ) : String
AppendClassSignature ( StringBuilder sb, Type c ) : void
AppendClassTrailer ( StringBuilder sb, Type c ) : void
AppendConstructorFooter ( StringBuilder sb ) : void
AppendConstructorHeader ( StringBuilder sb ) : void
AppendConstructorSignature ( StringBuilder sb, ConstructorInfo mi ) : void
AppendFieldFooter ( StringBuilder sb ) : void
AppendFieldHeader ( StringBuilder sb ) : void
AppendFieldSignature ( StringBuilder sb, FieldInfo fi ) : void
AppendMethodFooter ( StringBuilder sb ) : void
AppendMethodHeader ( StringBuilder sb ) : void
AppendMethodSignature ( StringBuilder sb, MethodInfo mi ) : void
AppendPropertyFooter ( StringBuilder sb ) : void
AppendPropertyHeader ( StringBuilder sb ) : void
AppendPropertySignature ( StringBuilder sb, PropertyInfo pi ) : void
GetClassCode ( Type cls ) : String
Show ( FieldInfo field ) : bool
Show ( MemberInfo member ) : bool
Show ( Type type ) : bool

보호된 메소드들

메소드 설명
AppendArrayBrackets ( StringBuilder sb, Type cls ) : void
AppendClassModifiers ( StringBuilder sb, Type cls ) : void

Get the modifiers for the class (public, final, abstract).

AppendFieldModifiers ( StringBuilder sb, FieldInfo f ) : void

Retrieves the modifiers on the field (final, static).

AppendFieldType ( StringBuilder sb, FieldInfo f, TypeNames options ) : void

Retrieves the type of the field, checking for an array type

AppendFieldVisibility ( StringBuilder sb, FieldInfo f ) : void

GetVisibility retrieves the visibility of the field (public, etc.).

AppendMethodModifiers ( StringBuilder sb, MethodInfo mi ) : void

GetModifiers returns a string representing the modifiers on a method. The method only applies to an actual method, not a constructor. It

AppendMethodReturnType ( StringBuilder sb, MethodInfo mi, TypeNames options ) : void

Retrieve the return type of the method. note that we can only do so on a normal method, not on a ctor. to detect the difference, we check

AppendMethodVisibility ( StringBuilder sb, MethodBase mtd ) : void
AppendTypeName ( StringBuilder sb, Type cls, TypeNames options ) : void
IsPropertyAccessor ( MemberInfo member ) : bool
IsPropertyAccessor ( MethodBase method ) : bool
IsPropertyGet ( MethodBase method ) : bool
IsPropertySet ( MethodBase method ) : bool
IsVirtual ( MethodBase method ) : bool

비공개 메소드들

메소드 설명
GetUnderlyingType ( Type cls ) : Type
PrimitiveName ( Type cls ) : String
SortMemberInfo ( MemberInfo members ) : IList

메소드 상세

AbbreviateName() 공개 정적인 메소드

public static AbbreviateName ( String name, String search, String replace ) : String
name String
search String
replace String
리턴 String

AppendArrayBrackets() 보호된 메소드

protected AppendArrayBrackets ( StringBuilder sb, Type cls ) : void
sb StringBuilder
cls System.Type
리턴 void

AppendClassModifiers() 보호된 메소드

Get the modifiers for the class (public, final, abstract).
protected AppendClassModifiers ( StringBuilder sb, Type cls ) : void
sb StringBuilder
cls System.Type
리턴 void

AppendClassSignature() 공개 추상적인 메소드

public abstract AppendClassSignature ( StringBuilder sb, Type c ) : void
sb StringBuilder
c System.Type
리턴 void

AppendClassTrailer() 공개 추상적인 메소드

public abstract AppendClassTrailer ( StringBuilder sb, Type c ) : void
sb StringBuilder
c System.Type
리턴 void

AppendConstructorFooter() 공개 추상적인 메소드

public abstract AppendConstructorFooter ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendConstructorHeader() 공개 추상적인 메소드

public abstract AppendConstructorHeader ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendConstructorSignature() 공개 추상적인 메소드

public abstract AppendConstructorSignature ( StringBuilder sb, ConstructorInfo mi ) : void
sb StringBuilder
mi System.Reflection.ConstructorInfo
리턴 void

AppendFieldFooter() 공개 추상적인 메소드

public abstract AppendFieldFooter ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendFieldHeader() 공개 추상적인 메소드

public abstract AppendFieldHeader ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendFieldModifiers() 보호된 메소드

Retrieves the modifiers on the field (final, static).
protected AppendFieldModifiers ( StringBuilder sb, FieldInfo f ) : void
sb StringBuilder
f System.Reflection.FieldInfo
리턴 void

AppendFieldSignature() 공개 추상적인 메소드

public abstract AppendFieldSignature ( StringBuilder sb, FieldInfo fi ) : void
sb StringBuilder
fi System.Reflection.FieldInfo
리턴 void

AppendFieldType() 보호된 메소드

Retrieves the type of the field, checking for an array type
protected AppendFieldType ( StringBuilder sb, FieldInfo f, TypeNames options ) : void
sb StringBuilder
f System.Reflection.FieldInfo
options TypeNames
리턴 void

AppendFieldVisibility() 보호된 메소드

GetVisibility retrieves the visibility of the field (public, etc.).
protected AppendFieldVisibility ( StringBuilder sb, FieldInfo f ) : void
sb StringBuilder
f System.Reflection.FieldInfo
리턴 void

AppendMethodFooter() 공개 추상적인 메소드

public abstract AppendMethodFooter ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendMethodHeader() 공개 추상적인 메소드

public abstract AppendMethodHeader ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendMethodModifiers() 보호된 메소드

GetModifiers returns a string representing the modifiers on a method. The method only applies to an actual method, not a constructor. It
protected AppendMethodModifiers ( StringBuilder sb, MethodInfo mi ) : void
sb StringBuilder
mi System.Reflection.MethodInfo
리턴 void

AppendMethodReturnType() 보호된 메소드

Retrieve the return type of the method. note that we can only do so on a normal method, not on a ctor. to detect the difference, we check
protected AppendMethodReturnType ( StringBuilder sb, MethodInfo mi, TypeNames options ) : void
sb StringBuilder
mi System.Reflection.MethodInfo
options TypeNames
리턴 void

AppendMethodSignature() 공개 추상적인 메소드

public abstract AppendMethodSignature ( StringBuilder sb, MethodInfo mi ) : void
sb StringBuilder
mi System.Reflection.MethodInfo
리턴 void

AppendMethodVisibility() 보호된 메소드

protected AppendMethodVisibility ( StringBuilder sb, MethodBase mtd ) : void
sb StringBuilder
mtd System.Reflection.MethodBase
리턴 void

AppendPropertyFooter() 공개 추상적인 메소드

public abstract AppendPropertyFooter ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendPropertyHeader() 공개 추상적인 메소드

public abstract AppendPropertyHeader ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

AppendPropertySignature() 공개 추상적인 메소드

public abstract AppendPropertySignature ( StringBuilder sb, PropertyInfo pi ) : void
sb StringBuilder
pi System.Reflection.PropertyInfo
리턴 void

AppendTypeName() 보호된 메소드

protected AppendTypeName ( StringBuilder sb, Type cls, TypeNames options ) : void
sb StringBuilder
cls System.Type
options TypeNames
리턴 void

GetClassCode() 공개 메소드

public GetClassCode ( Type cls ) : String
cls System.Type
리턴 String

IsPropertyAccessor() 보호된 정적인 메소드

protected static IsPropertyAccessor ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
리턴 bool

IsPropertyAccessor() 보호된 정적인 메소드

protected static IsPropertyAccessor ( MethodBase method ) : bool
method System.Reflection.MethodBase
리턴 bool

IsPropertyGet() 보호된 정적인 메소드

protected static IsPropertyGet ( MethodBase method ) : bool
method System.Reflection.MethodBase
리턴 bool

IsPropertySet() 보호된 정적인 메소드

protected static IsPropertySet ( MethodBase method ) : bool
method System.Reflection.MethodBase
리턴 bool

IsVirtual() 보호된 정적인 메소드

protected static IsVirtual ( MethodBase method ) : bool
method System.Reflection.MethodBase
리턴 bool

Show() 공개 정적인 메소드

public static Show ( FieldInfo field ) : bool
field System.Reflection.FieldInfo
리턴 bool

Show() 공개 정적인 메소드

public static Show ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
리턴 bool

Show() 공개 정적인 메소드

public static Show ( Type type ) : bool
type System.Type
리턴 bool

프로퍼티 상세

allowAbbreviations 공개적으로 정적으로 프로퍼티

public static bool allowAbbreviations
리턴 bool

beQuiet 공개적으로 정적으로 프로퍼티

public static bool beQuiet
리턴 bool

defaultAbbreviation 공개적으로 정적으로 프로퍼티

public static TypeNames defaultAbbreviation
리턴 TypeNames

lineSeparator 공개적으로 정적으로 프로퍼티

public static string lineSeparator
리턴 string

showAdvancedness 공개적으로 정적으로 프로퍼티

public static bool showAdvancedness
리턴 bool

showFullNames 공개적으로 정적으로 프로퍼티

public static bool showFullNames
리턴 bool

showInherited 공개적으로 정적으로 프로퍼티

public static bool showInherited
리턴 bool

showModule 공개적으로 정적으로 프로퍼티

public static bool showModule
리턴 bool

showPackage 공개적으로 정적으로 프로퍼티

public static bool showPackage
리턴 bool

showPrivate 공개적으로 정적으로 프로퍼티

public static bool showPrivate
리턴 bool

showProtected 공개적으로 정적으로 프로퍼티

public static bool showProtected
리턴 bool

showPublic 공개적으로 정적으로 프로퍼티

public static bool showPublic
리턴 bool