Click or drag to resize
AbstractFileSystemProgressLoggingJobGetNewJobWithSharedResourcesAndHandlersTJob Method
Gets new job of TJob using factoryJobGetter and initializes it with all properties used in InitializeWith``1(UMP, FileSystemJobConfiguration) and registers all handlers using SetLogProgressHandler``1(UMP, EventHandlerLogProgressEventArgs) of the job calling this method.

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
protected TJob GetNewJobWithSharedResourcesAndHandlers<TJob>(
	Func<ObjectTypeInfo, FileSystemRepositoryConfiguration, TJob> factoryJobGetter,
	ObjectTypeInfo typeInfo
)
where TJob : AbstractFileSystemProgressLoggingJob

Parameters

factoryJobGetter
Type: SystemFuncObjectTypeInfo, FileSystemRepositoryConfiguration, TJob
FileSystemJobFactoryTJobFactory, TJob method creating a new job.
typeInfo
Type: CMS.DataEngineObjectTypeInfo
ObjectTypeInfo to get the job's factory job for.

Type Parameters

TJob
Type of job that will be created.

Return Value

Type: TJob
See Also