Click or drag to resize
ResourceLibraryInfoProvider.ValidateLibraryUniquenessInternal Method
Returns true when there is no ResourceLibraryInfo with different resourceLibraryId with given pathToLibrary referenced by ResourceInfo with given resourceId.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 12.0.0
Syntax
C#
protected virtual bool ValidateLibraryUniquenessInternal(
	int resourceId,
	string pathToLibrary,
	int resourceLibraryId = 0
)

Parameters

resourceId
Type: System.Int32
ResourceInfo id.
pathToLibrary
Type: System.String
Relative path to library.
resourceLibraryId (Optional)
Type: System.Int32
ResourceLibraryInfo id.

Return Value

Type: Boolean
Remarks
The pathToLibrary is internally normalized with UnMapPath(String) method to the form of relative path.
See Also