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
Показать файл Открыть проект

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