C# Class ProviderHostedCustomUIActionsWeb.Models.CustomerFactory

ファイルを表示 Open project: CriticalPathTraining/SharePointAddinDemos Class Usage Examples

Public Methods

Method Description
GetCustomerList ( ) : IEnumerable
GetCustomerList ( int CustomerCount ) : IEnumerable
GetCustomerList ( int CustomerCount, bool Predictable ) : IEnumerable
GetCustomerList ( int CustomerCount, int Seed ) : IEnumerable
GetRandomCustomer ( ) : Customer

Private Methods

Method Description
GetRandomAreaCode ( ) : string
GetRandomCompany ( ) : string
GetRandomFirstName ( ) : string
GetRandomLastName ( ) : string
GetRandomPhoneNumber ( ) : string
GetRandomPhoneNumber ( string AreaCode ) : string

Method Details

GetCustomerList() public static method

public static GetCustomerList ( ) : IEnumerable
return IEnumerable

GetCustomerList() public static method

public static GetCustomerList ( int CustomerCount ) : IEnumerable
CustomerCount int
return IEnumerable

GetCustomerList() public static method

public static GetCustomerList ( int CustomerCount, bool Predictable ) : IEnumerable
CustomerCount int
Predictable bool
return IEnumerable

GetCustomerList() public static method

public static GetCustomerList ( int CustomerCount, int Seed ) : IEnumerable
CustomerCount int
Seed int
return IEnumerable

GetRandomCustomer() public static method

public static GetRandomCustomer ( ) : Customer
return Customer