C# Class Dovetail.SDK.ModelMap.Integration.ObjectMother

ファイルを表示 Open project: DovetailSoftware/dovetail-bootstrap Class Usage Examples

Public Methods

Method Description
AddSiteToContact ( SiteDTO siteDto, ContactDTO contactDto ) : void
CreateCase ( ) : CaseDTO
CreateCase ( string title, string description ) : CaseDTO
CreateCase ( string title, string description, string queue, System.DateTime createdOn ) : CaseDTO
CreateContact ( SiteDTO atSite ) : ContactDTO
CreateContact ( string firstName, string lastName, SiteDTO atSite ) : ContactDTO
CreateEmployee ( ) : EmployeeDTO
CreateEmployee ( bool isActive ) : EmployeeDTO
CreateEmployee ( string firstName, string lastName, bool isActive ) : EmployeeDTO
CreateQueue ( string title ) : void
CreateSite ( ) : SiteDTO
CreateSolution ( ) : SolutionDTO
GetRandomString15CharactersLong ( ) : string
ObjectMother ( IClarifySession clarifySession ) : System

Private Methods

Method Description
CreateAddressData ( ) : ToolkitResult
GetRandomString ( ) : string

Method Details

AddSiteToContact() public method

public AddSiteToContact ( SiteDTO siteDto, ContactDTO contactDto ) : void
siteDto SiteDTO
contactDto ContactDTO
return void

CreateCase() public method

public CreateCase ( ) : CaseDTO
return CaseDTO

CreateCase() public method

public CreateCase ( string title, string description ) : CaseDTO
title string
description string
return CaseDTO

CreateCase() public method

public CreateCase ( string title, string description, string queue, System.DateTime createdOn ) : CaseDTO
title string
description string
queue string
createdOn System.DateTime
return CaseDTO

CreateContact() public method

public CreateContact ( SiteDTO atSite ) : ContactDTO
atSite SiteDTO
return ContactDTO

CreateContact() public method

public CreateContact ( string firstName, string lastName, SiteDTO atSite ) : ContactDTO
firstName string
lastName string
atSite SiteDTO
return ContactDTO

CreateEmployee() public method

public CreateEmployee ( ) : EmployeeDTO
return EmployeeDTO

CreateEmployee() public method

public CreateEmployee ( bool isActive ) : EmployeeDTO
isActive bool
return EmployeeDTO

CreateEmployee() public method

public CreateEmployee ( string firstName, string lastName, bool isActive ) : EmployeeDTO
firstName string
lastName string
isActive bool
return EmployeeDTO

CreateQueue() public method

public CreateQueue ( string title ) : void
title string
return void

CreateSite() public method

public CreateSite ( ) : SiteDTO
return SiteDTO

CreateSolution() public method

public CreateSolution ( ) : SolutionDTO
return SolutionDTO

GetRandomString15CharactersLong() public static method

public static GetRandomString15CharactersLong ( ) : string
return string

ObjectMother() public method

public ObjectMother ( IClarifySession clarifySession ) : System
clarifySession IClarifySession
return System