AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ResourceRegister..::..EmbeddedResourceExists Method

Determines whether an embedded resource with the specified name exists in the assembly containing the given type.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static bool EmbeddedResourceExists(
	Type typeInAssembly,
	string resourceName
)

Parameters

typeInAssembly
Type: Type
A type whose assembly will be checked for the embedded resource.
resourceName
Type: String
The fully qualified name of the embedded resource.

Return Value

true if the resource exists; otherwise, false.