Embedded
|
Exception | Condition |
---|---|
ArgumentNullException | Thrown if assemblyName is . |
ArgumentOutOfRangeException | Thrown if assemblyName is Empty. |
FileNotFoundException | Thrown if the Assembly indicated by assemblyName is not found. |
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.