|
EmbeddedResourcePathProviderProcessEmbeddedFiles Method
|
Reads in the embedded files from an assembly an processes them into
the virtual file system.
Namespace: GSF.Web.HostingAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.246-beta
Syntaxprotected virtual void ProcessEmbeddedFiles(
string assemblyName
)
Protected Overridable Sub ProcessEmbeddedFiles (
assemblyName As String
)
protected:
virtual void ProcessEmbeddedFiles(
String^ assemblyName
)
abstract ProcessEmbeddedFiles :
assemblyName : string -> unit
override ProcessEmbeddedFiles :
assemblyName : string -> unit
function ProcessEmbeddedFiles(assemblyName);
View SourceParameters
- assemblyName String
- The name of the Assembly to load and process.
ExceptionsException | Condition |
---|
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