C# 클래스 Disco.Services.JobExtensions

파일 보기 프로젝트 열기: garysharp/Disco

공개 메소드들

메소드 설명
AvailableDocumentTemplatePackages ( this j, DiscoDataContext Database, User TechnicianUser ) : List
AvailableDocumentTemplates ( this j, DiscoDataContext Database, User User, System.DateTime TimeStamp ) : List
CalculateStatusId ( this j ) : string
EvaluateOnCloseExpression ( this job, DiscoDataContext Database ) : string
EvaluateOnCreateExpression ( this job, DiscoDataContext Database ) : string
FilterCreatableTypePermissions ( this JobTypes, AuthorizationToken Authorization ) : IQueryable
GenerateFaultDescription ( this j, DiscoDataContext Database ) : string
GenerateFaultDescriptionFooter ( this j, DiscoDataContext Database, PluginFeatureManifest WarrantyProviderDefinition ) : string
JobStatusDescription ( string StatusId, Job j = null ) : string
JobStatusDescription ( string StatusId, JobTableStatusItemModel j = null ) : string
Status ( this j ) : string>.Tuple
ToJobTableStatusItemModel ( this j ) : JobTableStatusItemModel
UpdateSubTypes ( this j, DiscoDataContext Database, List SubTypes, bool AddComponents, User TechUser ) : void
ValidateDateAfterOpened ( this j, System.DateTime d ) : System.DateTime

비공개 메소드들

메소드 설명
FilterCreatableTypePermissions ( AuthorizationToken Authorization ) : List

메소드 상세

AvailableDocumentTemplatePackages() 공개 정적인 메소드

public static AvailableDocumentTemplatePackages ( this j, DiscoDataContext Database, User TechnicianUser ) : List
j this
Database Disco.Data.Repository.DiscoDataContext
TechnicianUser Disco.Models.Repository.User
리턴 List

AvailableDocumentTemplates() 공개 정적인 메소드

public static AvailableDocumentTemplates ( this j, DiscoDataContext Database, User User, System.DateTime TimeStamp ) : List
j this
Database Disco.Data.Repository.DiscoDataContext
User Disco.Models.Repository.User
TimeStamp System.DateTime
리턴 List

CalculateStatusId() 공개 정적인 메소드

public static CalculateStatusId ( this j ) : string
j this
리턴 string

EvaluateOnCloseExpression() 공개 정적인 메소드

public static EvaluateOnCloseExpression ( this job, DiscoDataContext Database ) : string
job this
Database Disco.Data.Repository.DiscoDataContext
리턴 string

EvaluateOnCreateExpression() 공개 정적인 메소드

public static EvaluateOnCreateExpression ( this job, DiscoDataContext Database ) : string
job this
Database Disco.Data.Repository.DiscoDataContext
리턴 string

FilterCreatableTypePermissions() 공개 정적인 메소드

public static FilterCreatableTypePermissions ( this JobTypes, AuthorizationToken Authorization ) : IQueryable
JobTypes this
Authorization Disco.Services.Authorization.AuthorizationToken
리턴 IQueryable

GenerateFaultDescription() 공개 정적인 메소드

public static GenerateFaultDescription ( this j, DiscoDataContext Database ) : string
j this
Database Disco.Data.Repository.DiscoDataContext
리턴 string

GenerateFaultDescriptionFooter() 공개 정적인 메소드

public static GenerateFaultDescriptionFooter ( this j, DiscoDataContext Database, PluginFeatureManifest WarrantyProviderDefinition ) : string
j this
Database Disco.Data.Repository.DiscoDataContext
WarrantyProviderDefinition PluginFeatureManifest
리턴 string

JobStatusDescription() 공개 정적인 메소드

public static JobStatusDescription ( string StatusId, Job j = null ) : string
StatusId string
j Disco.Models.Repository.Job
리턴 string

JobStatusDescription() 공개 정적인 메소드

public static JobStatusDescription ( string StatusId, JobTableStatusItemModel j = null ) : string
StatusId string
j Disco.Models.Services.Jobs.JobLists.JobTableStatusItemModel
리턴 string

Status() 공개 정적인 메소드

public static Status ( this j ) : string>.Tuple
j this
리턴 string>.Tuple

ToJobTableStatusItemModel() 공개 정적인 메소드

public static ToJobTableStatusItemModel ( this j ) : JobTableStatusItemModel
j this
리턴 Disco.Models.Services.Jobs.JobLists.JobTableStatusItemModel

UpdateSubTypes() 공개 정적인 메소드

public static UpdateSubTypes ( this j, DiscoDataContext Database, List SubTypes, bool AddComponents, User TechUser ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
SubTypes List
AddComponents bool
TechUser Disco.Models.Repository.User
리턴 void

ValidateDateAfterOpened() 공개 정적인 메소드

public static ValidateDateAfterOpened ( this j, System.DateTime d ) : System.DateTime
j this
d System.DateTime
리턴 System.DateTime