C# Class Disco.Services.DocumentTemplatePackageExtensions

Exibir arquivo Open project: garysharp/Disco

Public Methods

Method Description
EvaluateOnGenerateExpression ( this package, object Data, DiscoDataContext Database, User User, System.DateTime TimeStamp, DocumentState State ) : string
FilterExpressionFromCache ( this package ) : Expression
FilterExpressionInvalidateCache ( this package ) : void
FilterExpressionMatches ( this package, object Data, DiscoDataContext Database, User User, System.DateTime TimeStamp, DocumentState State ) : bool
GetDocumentTemplates ( this package, DiscoDataContext Database ) : List
GetDocumentTemplates ( this package, IEnumerable DocumentTemplates ) : List
GetJobSubTypes ( this package, IEnumerable JobSubTypes ) : List
OnGenerateExpressionFromCache ( this package ) : Expression
OnGenerateExpressionInvalidateCache ( this package ) : void

Method Details

EvaluateOnGenerateExpression() public static method

public static EvaluateOnGenerateExpression ( this package, object Data, DiscoDataContext Database, User User, System.DateTime TimeStamp, DocumentState State ) : string
package this
Data object
Database Disco.Data.Repository.DiscoDataContext
User Disco.Models.Repository.User
TimeStamp System.DateTime
State Disco.Models.Services.Documents.DocumentState
return string

FilterExpressionFromCache() public static method

public static FilterExpressionFromCache ( this package ) : Expression
package this
return Expression

FilterExpressionInvalidateCache() public static method

public static FilterExpressionInvalidateCache ( this package ) : void
package this
return void

FilterExpressionMatches() public static method

public static FilterExpressionMatches ( this package, object Data, DiscoDataContext Database, User User, System.DateTime TimeStamp, DocumentState State ) : bool
package this
Data object
Database Disco.Data.Repository.DiscoDataContext
User Disco.Models.Repository.User
TimeStamp System.DateTime
State Disco.Models.Services.Documents.DocumentState
return bool

GetDocumentTemplates() public static method

public static GetDocumentTemplates ( this package, DiscoDataContext Database ) : List
package this
Database Disco.Data.Repository.DiscoDataContext
return List

GetDocumentTemplates() public static method

public static GetDocumentTemplates ( this package, IEnumerable DocumentTemplates ) : List
package this
DocumentTemplates IEnumerable
return List

GetJobSubTypes() public static method

public static GetJobSubTypes ( this package, IEnumerable JobSubTypes ) : List
package this
JobSubTypes IEnumerable
return List

OnGenerateExpressionFromCache() public static method

public static OnGenerateExpressionFromCache ( this package ) : Expression
package this
return Expression

OnGenerateExpressionInvalidateCache() public static method

public static OnGenerateExpressionInvalidateCache ( this package ) : void
package this
return void