C# Class Disco.Services.UserExtensions

显示文件 Open project: garysharp/Disco

Public Methods

Method Description
AvailableDocumentTemplatePackages ( this u, DiscoDataContext Database, User TechnicianUser ) : List
AvailableDocumentTemplates ( this u, DiscoDataContext Database, User User, System.DateTime TimeStamp ) : List
CanCreateJob ( this u ) : bool
CurrentDeviceUserAssignments ( this u ) : List
FriendlyId ( this u ) : string
IsInPrimaryDomain ( this u ) : bool
ToStringFriendly ( this u ) : string

Method Details

AvailableDocumentTemplatePackages() public static method

public static AvailableDocumentTemplatePackages ( this u, DiscoDataContext Database, User TechnicianUser ) : List
u this
Database Disco.Data.Repository.DiscoDataContext
TechnicianUser Disco.Models.Repository.User
return List

AvailableDocumentTemplates() public static method

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

CanCreateJob() public static method

public static CanCreateJob ( this u ) : bool
u this
return bool

CurrentDeviceUserAssignments() public static method

public static CurrentDeviceUserAssignments ( this u ) : List
u this
return List

FriendlyId() public static method

public static FriendlyId ( this u ) : string
u this
return string

IsInPrimaryDomain() public static method

public static IsInPrimaryDomain ( this u ) : bool
u this
return bool

ToStringFriendly() public static method

public static ToStringFriendly ( this u ) : string
u this
return string