TypeProvider
TypeProvider
TypeProvider
TypeProvider
Class
Definition
Warning
This API is now obsolete.
An implementation of ITypeProvider that acts as a container of types within the indicated assemblies and code compile units.
public ref class TypeProvider sealed : IDisposable, IServiceProvider, System::Workflow::ComponentModel::Compiler::ITypeProvider
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class TypeProvider : IDisposable, IServiceProvider, System.Workflow.ComponentModel.Compiler.ITypeProvider
type TypeProvider = class
interface ITypeProvider
interface IServiceProvider
interface IDisposable
Public NotInheritable Class TypeProvider
Implements IDisposable, IServiceProvider, ITypeProvider
- Inheritance
- Attributes
- Implements
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
This ITypeProvider implementation, in addition to handling compiled assemblies (AddAssembly and AddAssemblyReference methods), can handle types that have not been compiled yet (AddCodeCompileUnit). The limited implementation of System.Type is returned for types referenced using CodeCompileUnit.
Note
TypeProvider only returns public types from referenced assemblies, and both public and non-public types from local assemblies.
Constructors
TypeProvider(IServiceProvider) TypeProvider(IServiceProvider) TypeProvider(IServiceProvider) TypeProvider(IServiceProvider) |
Initializes a new instance of the TypeProvider class. |
Properties
AssemblyNameResolver AssemblyNameResolver AssemblyNameResolver AssemblyNameResolver |
Gets or sets the delegate that references a method with one parameter and one return value that returns the assembly display name in which a specified type belongs to. |
IsSupportedPropertyResolver IsSupportedPropertyResolver IsSupportedPropertyResolver IsSupportedPropertyResolver |
Gets or sets the delegate that references a method with two parameters and one return value that determines whether a specified property is supported in the target .NET Framework. |
LocalAssembly LocalAssembly LocalAssembly LocalAssembly |
Gets a value that represents the locally defined Assembly for this instance. |
ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies |
Gets a collection of all assemblies referenced by the Type. |
TypeLoadErrors TypeLoadErrors TypeLoadErrors TypeLoadErrors |
Gets an IDictionary of load error exceptions keyed by the Object that causes the Exception. |
Methods
Events
TypeLoadErrorsChanged TypeLoadErrorsChanged TypeLoadErrorsChanged TypeLoadErrorsChanged |
Occurs when the collection TypeLoadErrors is modified. |
TypesChanged TypesChanged TypesChanged TypesChanged |
Occurs when the collection of defined types is modified. |
Applies to
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...