FileSystemRepositoryNamingProviderRegisterGetObjectIdentifier Method |
Namespace: CMS.ContinuousIntegration.Internal
public static void RegisterGetObjectIdentifier( string objectType, Func<ExtendedTranslationReference, string, string> getObjectIdentifier )
When an object is being stored in the repository, a folder or file name is generated based on its object type and/or fields contained in translation reference. However, when the default object identifier is not suitable, it can be customized by registering a custom function.
The AdditionalFields contains fields defined in ObjectFileNameFields of given objectType.