Click or drag to resize
AbstractFileSystemProgressLoggingJob.GetNewJobWithSharedResourcesAndHandlers<TJob> Method
Gets new job of TJob using factoryJobGetter and initializes it with all properties used in InitializeWith``1(UMP, RepositoryPathHelper, ContinuousIntegrationTranslationHelper, FileSystemBindingsProcessor, IFileSystemWriter, ICachedFileSystemReader, SeparatedFieldProcessor, Nullable< Boolean> , Nullable< Boolean> ) and registers all handlers using SetLogProgressHandler``1(UMP, EventHandler< LogProgressEventArgs> ) of the job calling this method.

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

Parameters

factoryJobGetter
Type: System.Func<ObjectTypeInfo, FileSystemRepositoryConfiguration, TJob>
FileSystemJobFactory< TJobFactory, TJob> method creating a new job.
typeInfo
Type: CMS.DataEngine.ObjectTypeInfo
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