The static reflection policy base class is intended to assist with the implementation
of custom reflection policies defined over static metadata.
Namespace:
Gallio.Common.Reflection.ImplAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public abstract class StaticReflectionPolicy : BaseReflectionPolicy |
| Visual Basic (Declaration) |
|---|
Public MustInherit Class StaticReflectionPolicy _ Inherits BaseReflectionPolicy |
Remarks
It flattens out the code element hierarchy to ease implementation of new policies. It provides a mechanism for handling generic type substitutions to ensure a consistent and correct implementation of generic type and generic method instantiations.
Reflection policy subclasses should not perform generic type substitutions themselves. The rest of the infrastructure will take care of these details automatically. However StaticDeclaredTypeWrapper and StaticMethodWrapper objects should be created with the type substitutions of the declaring type extended with generic type arguments.
Inheritance Hierarchy
System..::.Object
Gallio.Common.Reflection.Impl..::.BaseReflectionPolicy
Gallio.Common.Reflection.Impl..::.StaticReflectionPolicy
Gallio.Common.Reflection.Impl..::.BaseReflectionPolicy
Gallio.Common.Reflection.Impl..::.StaticReflectionPolicy
