Class EmbeddedResourceLoader
Looks for embedded resources within libraries that are in the callstack.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Common.ResourceLoading
Assembly: FixAntenna.Common.dll
Syntax
public class EmbeddedResourceLoader : ResourceLoader
Constructors
EmbeddedResourceLoader()
Create EmbeddedResourceLoader
.
The next nextLoader is DummyResourceLoader
.
Declaration
public EmbeddedResourceLoader()
EmbeddedResourceLoader(String)
Create EmbeddedResourceLoader
.
Declaration
public EmbeddedResourceLoader(string innerPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | innerPath |
EmbeddedResourceLoader(String, ResourceLoader)
Create EmbeddedResourceLoader
.
Declaration
public EmbeddedResourceLoader(string innerPath, ResourceLoader nextLoader)
Parameters
Type | Name | Description |
---|---|---|
System.String | innerPath | |
ResourceLoader | nextLoader |
Methods
LoadResource(String)
Look for embedded resource within libraries that are in the callstack of this method
Declaration
public override Stream LoadResource(string resourceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceName | Resource name |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream with resource |