C# Class Dlp.Framework.Container.Proxies.MetaDataFactory

Factory class used to cache Types instances
Datei anzeigen Open project: stone-payments/Dlp.Framework Class Usage Examples

Public Methods

Method Description
Add ( Type interfaceType ) : void

Method to add a new Type to the cache, using the type's fully qualified name as the key

GetMethod ( string name, int i ) : MethodInfo

Method to return the method of a given type at a specified index.

Private Methods

Method Description
MetaDataFactory ( ) : System

Class constructor. Private because this is a static class.

Method Details

Add() public static method

Method to add a new Type to the cache, using the type's fully qualified name as the key
public static Add ( Type interfaceType ) : void
interfaceType System.Type Type to cache
return void

GetMethod() public static method

Method to return the method of a given type at a specified index.
public static GetMethod ( string name, int i ) : MethodInfo
name string Fully qualified name of the method to return
i int Index to use to return MethodInfo
return System.Reflection.MethodInfo