C# 클래스 Mirror.ClassMirror

A ClassMirror object reflects upon the type of a single designscript variable The information here is populated during the code generation phase
상속: StaticMirror
파일 보기 프로젝트 열기: DynamoDS/Dynamo

Private Properties

프로퍼티 타입 설명
ClassMirror System
ClassMirror System

공개 메소드들

메소드 설명
ClassMirror ( string className, ProtoCore core ) : System
GetClassAttributes ( ) : ClassAttributes
GetClassHierarchy ( ) : IEnumerable

Returns the base class hierarchy for the given class

GetConstructors ( ) : IEnumerable

Returns the list of constructors defined for the given class

GetFunctions ( ) : IEnumerable

Returns the list of functions of the class only

GetInstanceMembers ( ) : IEnumerable
GetMembers ( ) : IEnumerable

Returns the constructors and static methods and properties belonging to the type and its base types

GetOverloads ( string methodName ) : IEnumerable

Given the method name, return the list of all matching constructors and member functions of this type only

GetOverloadsOnInstance ( string methodName ) : IEnumerable

Given a method name, return the matching list of instance methods on this type and its base types

GetOverloadsOnType ( string methodName ) : IEnumerable

Given a method name, return the matching list of constructors or static methods on this type and its base types

GetProperties ( ) : IEnumerable

Returns the list of class properties of this class

비공개 메소드들

메소드 설명
ClassMirror ( ProtoCore core, ProtoCore classNode, LibraryMirror libraryMirror = null ) : System
ClassMirror ( StackValue svData, ProtoCore core ) : System

Constructor to construct ClassMirror from runtime data i.e. StackValue

메소드 상세

ClassMirror() 공개 메소드

public ClassMirror ( string className, ProtoCore core ) : System
className string
core ProtoCore
리턴 System

GetClassAttributes() 공개 메소드

public GetClassAttributes ( ) : ClassAttributes
리턴 ClassAttributes

GetClassHierarchy() 공개 메소드

Returns the base class hierarchy for the given class
public GetClassHierarchy ( ) : IEnumerable
리턴 IEnumerable

GetConstructors() 공개 메소드

Returns the list of constructors defined for the given class
public GetConstructors ( ) : IEnumerable
리턴 IEnumerable

GetFunctions() 공개 메소드

Returns the list of functions of the class only
public GetFunctions ( ) : IEnumerable
리턴 IEnumerable

GetInstanceMembers() 공개 메소드

public GetInstanceMembers ( ) : IEnumerable
리턴 IEnumerable

GetMembers() 공개 메소드

Returns the constructors and static methods and properties belonging to the type and its base types
public GetMembers ( ) : IEnumerable
리턴 IEnumerable

GetOverloads() 공개 메소드

Given the method name, return the list of all matching constructors and member functions of this type only
public GetOverloads ( string methodName ) : IEnumerable
methodName string
리턴 IEnumerable

GetOverloadsOnInstance() 공개 메소드

Given a method name, return the matching list of instance methods on this type and its base types
public GetOverloadsOnInstance ( string methodName ) : IEnumerable
methodName string
리턴 IEnumerable

GetOverloadsOnType() 공개 메소드

Given a method name, return the matching list of constructors or static methods on this type and its base types
public GetOverloadsOnType ( string methodName ) : IEnumerable
methodName string
리턴 IEnumerable

GetProperties() 공개 메소드

Returns the list of class properties of this class
public GetProperties ( ) : IEnumerable
리턴 IEnumerable