Click or drag to resize

AssembliesGetManifestResource Method (FuncAssemblyResource, Boolean)

Loads the specified manifest resource from this assembly.

Namespace:  Cauldron.Reflection
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static byte[] GetManifestResource(
	Func<AssemblyResource, bool> selector
)

Parameters

selector
Type: SystemFuncAssemblyResource, Boolean

Return Value

Type: Byte
The manifest resource; or null if no resources were specified during compilation or if the resource is not visible to the caller.
Exceptions
ExceptionCondition
ArgumentNullException The selector parameter is null
ArgumentException The selector parameter is an empty string
FileLoadExceptionA file that was found could not be loaded.
NotImplementedException Resource length is greater than MaxValue
See Also