
Public Member Functions | |
| bool | IsInterfaceImplemented (string filePath, string interfaceName) |
| Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented. NOTE: Only exported types are examined. | |
| bool | TryGetTypeNameByFileAndInterface (string filePath, string interfaceName, out string typeName) |
| Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented and return the fully qualified name of the type that implements the interface. NOTE: Only exported types are examined. | |
| bool | TryGetTypeByFileAndInterface (string filePath, string interfaceName, out Type type) |
| Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented and return the type that implements the interface. NOTE: Only exported types are examined. | |
| bool | TryGetTypeFromPathInterfaceAndType (string filePath, string interfaceName, string typeName, out Type agentType) |
| Given a full path to an Agent assembly and the type which implements IAgent, try to load the Agent type. | |
Static Public Member Functions | |
| static IInterfaceInspector | Get (AppDomain domain, string inspectorInterfaceName) |
| Load an instance of the interface inspector in the specified application domain. | |
Definition at line 21 of file InterfaceInspector.cs.
| static IInterfaceInspector Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.InterfaceInspector.Get | ( | AppDomain | domain, | |
| string | inspectorInterfaceName | |||
| ) | [static] |
Load an instance of the interface inspector in the specified application domain.
Definition at line 111 of file InterfaceInspector.cs.
| bool Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.InterfaceInspector.IsInterfaceImplemented | ( | string | filePath, | |
| string | interfaceName | |||
| ) |
Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented. NOTE: Only exported types are examined.
| filePath | The full path to the assembly | |
| interfaceName | The fully-qualified name of the interface |
Implements Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.IInterfaceInspector.
Definition at line 33 of file InterfaceInspector.cs.
| bool Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.InterfaceInspector.TryGetTypeByFileAndInterface | ( | string | filePath, | |
| string | interfaceName, | |||
| out Type | type | |||
| ) |
Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented and return the type that implements the interface. NOTE: Only exported types are examined.
| filePath | The full path to the assembly | |
| interfaceName | The fully-qualified name of the interface | |
| type | On success, the type that implements the interface. |
Implements Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.IInterfaceInspector.
Definition at line 88 of file InterfaceInspector.cs.
| bool Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.InterfaceInspector.TryGetTypeFromPathInterfaceAndType | ( | string | filePath, | |
| string | interfaceName, | |||
| string | typeName, | |||
| out Type | agentType | |||
| ) |
Given a full path to an Agent assembly and the type which implements IAgent, try to load the Agent type.
| filePath | The full path to the Agent assembly | |
| interfaceName | ||
| typeName | The full name of the type implementing IAgent | |
| agentType | On success, contains the Agent type |
Implements Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.IInterfaceInspector.
Definition at line 144 of file InterfaceInspector.cs.
| bool Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.InterfaceInspector.TryGetTypeNameByFileAndInterface | ( | string | filePath, | |
| string | interfaceName, | |||
| out string | typeName | |||
| ) |
Given a path to an assembly and a fully-qualified interface name, determine whether the interface is implemented and return the fully qualified name of the type that implements the interface. NOTE: Only exported types are examined.
| filePath | The full path to the assembly | |
| interfaceName | The fully-qualified name of the interface | |
| typeName | On success, the fully qualified name of the type that implements the interface. |
Implements Mcs.Epm.MicrosoftProject.mpFx.Client.Shared.IInterfaceInspector.
Definition at line 59 of file InterfaceInspector.cs.
1.5.8