ResourceLibraryInfoProviderValidateLibraryUniquenessInternal Method |
Returns true when there is no
ResourceLibraryInfo with different
resourceLibraryId with given
pathToLibrary
referenced by
ResourceInfo with given
resourceId.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax protected virtual bool ValidateLibraryUniquenessInternal(
int resourceId,
string pathToLibrary,
int resourceLibraryId = 0
)
Parameters
- resourceId
- Type: SystemInt32
ResourceInfo id. - pathToLibrary
- Type: SystemString
Relative path to library. - resourceLibraryId (Optional)
- Type: SystemInt32
ResourceLibraryInfo id.
Return Value
Type:
BooleanRemarks
The
pathToLibrary is internally normalized with
UnMapPath(String)
method to the form of relative path.
See Also