FsXaml


ProvidedAssembly

Namespace: ProviderImplementation.ProvidedTypes

A provided generated assembly

Constructors

ConstructorDescription
new(assemblyFileName)
Signature: assemblyFileName:string -> ProvidedAssembly

Create a provided generated assembly

CompiledName: .ctor

Instance members

Instance memberDescription
AddNestedTypes(...)
Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit

Emit the given nested provided type definitions as part of the assembly. and adjust the 'Assembly' property of all provided type definitions to return that assembly.

AddTypes(types)
Signature: (types:ProvidedTypeDefinition list) -> unit

Emit the given provided type definitions as part of the assembly and adjust the 'Assembly' property of all provided type definitions to return that assembly.

The assembly is only emitted when the Assembly property on the root type is accessed for the first time. The host F# compiler does this when processing a generative type declaration for the type.

Static members

Static memberDescription
RegisterGenerated(fileName)
Signature: fileName:string -> Assembly

Register that a given file is a provided generated assembly

Fork me on GitHub