C# Класс PERWAPI.GenericParam

Descriptor for
Наследование: Type
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddConstraints void
AddTypeSpec Type
AnonClassPar GenericParam
AnonMethPar GenericParam
BuildCILInfo void
BuildTables void
CheckParent void
GenericParam System
GenericParam System
GenericParam System
GenericParam System
Read void
SetClassParam void
SetMethParam void
Size uint
SortKey uint
TypeSig void
Write void

Открытые методы

Метод Описание
AddConstraint ( Class cType ) : void

Add a type constraint to this generic parameter

GetAttribute ( ) : GenericParamAttr

Get the attribute for this generic parameter

GetClassConstraints ( ) : PERWAPI.Class[]
GetConstraint ( int i ) : Class

Return a constraint from the list

GetConstraintCount ( ) : int

Get the number of constrains on this GenericParam

GetName ( ) : string

Get the name of this generic parameter

GetParent ( ) : MetaDataElement
RemoveConstraint ( Class cType ) : void

Remove a constraint from this generic parameter

SetAttribute ( GenericParamAttr attr ) : void

Set the attribute for this generic parameter

Приватные методы

Метод Описание
AddConstraints ( MetaDataOut md ) : void
AddTypeSpec ( MetaDataOut md ) : Type
AnonClassPar ( uint ix ) : GenericParam
AnonMethPar ( uint ix ) : GenericParam
BuildCILInfo ( CILWriter output ) : void
BuildTables ( MetaDataOut md ) : void
CheckParent ( MethodDef paren, PEReader buff ) : void
GenericParam ( PEReader buff ) : System
GenericParam ( string name ) : System
GenericParam ( string name, MetaDataElement parent, int index ) : System
GenericParam ( uint index, byte elemIx ) : System
Read ( PEReader buff, TableRow gpars ) : void
SetClassParam ( Class paren, int ix ) : void
SetMethParam ( Method paren, int ix ) : void
Size ( MetaData md ) : uint
SortKey ( ) : uint
TypeSig ( MemoryStream str ) : void
Write ( PEWriter output ) : void

Описание методов

AddConstraint() публичный Метод

Add a type constraint to this generic parameter
public AddConstraint ( Class cType ) : void
cType Class class constraining the parameter type
Результат void

GetAttribute() публичный Метод

Get the attribute for this generic parameter
public GetAttribute ( ) : GenericParamAttr
Результат GenericParamAttr

GetClassConstraints() публичный Метод

public GetClassConstraints ( ) : PERWAPI.Class[]
Результат PERWAPI.Class[]

GetConstraint() публичный Метод

Return a constraint from the list
public GetConstraint ( int i ) : Class
i int constraint index
Результат Class

GetConstraintCount() публичный Метод

Get the number of constrains on this GenericParam
public GetConstraintCount ( ) : int
Результат int

GetName() публичный Метод

Get the name of this generic parameter
public GetName ( ) : string
Результат string

GetParent() публичный Метод

public GetParent ( ) : MetaDataElement
Результат MetaDataElement

RemoveConstraint() публичный Метод

Remove a constraint from this generic parameter
public RemoveConstraint ( Class cType ) : void
cType Class class type of constraint
Результат void

SetAttribute() публичный Метод

Set the attribute for this generic parameter
public SetAttribute ( GenericParamAttr attr ) : void
attr GenericParamAttr the attribute
Результат void