Click or drag to resize

EmbeddedResourcePathProviderProcessEmbeddedFiles Method

Reads in the embedded files from an assembly an processes them into the virtual file system.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
protected virtual void ProcessEmbeddedFiles(
	string assemblyName
)
View Source

Parameters

assemblyName  String
The name of the Assembly to load and process.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if assemblyName is .
ArgumentOutOfRangeException Thrown if assemblyName is Empty.
FileNotFoundException Thrown if the Assembly indicated by assemblyName is not found.
Remarks

The assemblyName will be passed to Load(String) so the associated assembly can be processed. If the assembly is not found, a FileNotFoundException is thrown.

Once the assembly is retrieved, it is queried for EmbeddedResourceFileAttribute instances. For each one found, the associated resources are processed into virtual files that will be stored in Files for later use.

See Also