Class AssemblyExtensions
Inheritance
System.Object
AssemblyExtensions
Namespace: Lucene.Net.Support
Assembly: Lucene.Net.dll
Syntax
public static class AssemblyExtensions : object
Methods
| Improve this Doc View SourceFindAndGetManifestResourceStream(Assembly, Type, String)
Aggressively searches for a resource and, if found, returns an open
Declaration
public static Stream FindAndGetManifestResourceStream(this Assembly assembly, Type type, string name)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | this assembly |
Type | type | a type in the same namespace as the resource |
System. |
name | the resource name to locate |
Returns
Type | Description |
---|---|
Stream | an open |
FindResource(Assembly, Type, String)
Aggressively searches to find a resource based on a
Declaration
public static string FindResource(this Assembly assembly, Type type, string name)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | this assembly |
Type | type | a type in the same namespace as the resource |
System. |
name | the resource name to locate |
Returns
Type | Description |
---|---|
System. |
the resource, if found; if not found, returns |