A base type providing default implementations of type provider functionality.
Constructor | Description |
Full Usage:
TypeProviderForNamespaces(config, ?sourceAssemblies, ?assemblyReplacementMap, ?addDefaultProbingLocation)
Parameters:
TypeProviderConfig
-
Type provider config.
?sourceAssemblies : Assembly list
-
Optionally specify the design-time assemblies available to use as a basis for authoring provided types.
The transitive dependencies of these assemblies are also included. By default
Assembly.GetCallingAssembly() and its transitive dependencies are used.
?assemblyReplacementMap : (string * string) list
-
Optionally specify a map of assembly names from source model to referenced assemblies.
?addDefaultProbingLocation : bool
-
Optionally specify that the location of the type provider design-time component should be used to resolve failing assembly resolutions.
This flag or an equivalent call to RegisterProbingFolder is generally needed for any type provider design-time components loaded into .NET Core tooling.
Returns: TypeProviderForNamespaces
|
|
Full Usage:
TypeProviderForNamespaces(config, namespaceName, types, ?sourceAssemblies, ?assemblyReplacementMap, ?addDefaultProbingLocation)
Parameters:
TypeProviderConfig
-
Type provider config.
namespaceName : string
-
Name of namespace.
types : ProvidedTypeDefinition list
-
Provided type definitions.
?sourceAssemblies : Assembly list
-
Optionally specify the design-time assemblies available to use as a basis for authoring provided types.
The transitive dependencies of these assemblies are also included. By default
Assembly.GetCallingAssembly() and its transitive dependencies are used.
?assemblyReplacementMap : (string * string) list
-
Optionally specify a map of assembly names from source model to referenced assemblies.
?addDefaultProbingLocation : bool
-
Optionally specify that the location of the type provider design-time component should be used to resolve failing assembly resolutions.
This flag or an equivalent call to RegisterProbingFolder is generally needed for any type provider design-time components loaded into .NET Core tooling.
Returns: TypeProviderForNamespaces
|
|
Instance member | Description |
Full Usage:
this.AddNamespace
Parameters:
string
types : ProvidedTypeDefinition list
|
|
Full Usage:
this.ApplyStaticArgumentsForMethod
Parameters:
MethodBase
arg1 : string
arg2 : obj[]
Returns: MethodBase
|
|
|
|
Full Usage:
this.GetStaticParametersForMethod
Parameters:
MethodBase
Returns: ParameterInfo[]
|
|
Full Usage:
this.Invalidate
|
|
|
|
|
|
Full Usage:
this.RegisterProbingFolder
Parameters:
string
|
|
Full Usage:
this.RegisterRuntimeAssemblyLocationAsProbingFolder
Parameters:
TypeProviderConfig
|
|
Full Usage:
this.ResolveAssembly
Parameters:
ResolveEventArgs
Returns: Assembly
Modifiers: abstract |
|
|
|