Click or drag to resize
AbstractFileSystemJobGetNewJobWithSharedResourcesTJob 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, NullableBoolean, NullableBoolean) 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 GetNewJobWithSharedResources<TJob>(
	Func<ObjectTypeInfo, FileSystemRepositoryConfiguration, TJob> factoryJobGetter,
	ObjectTypeInfo typeInfo
)
where TJob : AbstractFileSystemJob

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