C# Class CK.Reflection.TypeBuilderExtension

Provides extension methods on TypeBuilder class.
Datei anzeigen Open project: Invenietis/ck-core

Public Methods

Method Description
DefinePassThroughConstructors ( this @this, MethodAttributes?>.Func baseConstructorfilter = null, Func constructorAttributesFilter = null, Func parameterAttributesFilter = null ) : void

Creates constructors that relay calls to public and protected constructors in the base class.

Method Details

DefinePassThroughConstructors() public static method

Creates constructors that relay calls to public and protected constructors in the base class.
public static DefinePassThroughConstructors ( this @this, MethodAttributes?>.Func baseConstructorfilter = null, Func constructorAttributesFilter = null, Func parameterAttributesFilter = null ) : void
@this this
baseConstructorfilter MethodAttributes?>.Func /// Optional predicate used to filter constructors that must be implemented and set its . /// When this function returns null, the constructor is not implemented, otherwise it can return the baseConstructor's Attribute. /// When null, all public and protected constructors are replicated with the same access (public or protected). ///
constructorAttributesFilter Func /// Optional predicate used to filter constructors' attributes. /// When null, all attributes are redefined. ///
parameterAttributesFilter Func /// Optional predicate used to filter constructors' arguments' attributes. /// When null, all attributes are redefined. ///
return void