C# Класс DRMFSS.Web.Models.ReceiveViewModel

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
InitalizeViewModel void
InitalizeViewModel void

Открытые методы

Метод Описание
GenerateReceive ( ) : BLL.Receive

Generates the receive.

GenerateReceiveModel ( BLL receive, List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : Models.ReceiveViewModel

Generates the receive model.

GenerateReceiveModel ( BLL receive, UserProfile user ) : Models.ReceiveViewModel

Generates the receive model.

InitializeEditLists ( List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : void

Initializes the edit lists.

InitializeEditLists ( UserProfile user ) : void

Initializes the edit lists.

ReceiveViewModel ( ) : System

parameterless constructor, which is hidden so that this object is not constructed with out the user being specified,

ReceiveViewModel ( IUnitOfWork unitOfWork, BLL user ) : System

constructor with the testable repositories and the user the user is required because we need to decide what wareshouses to display for her.

ReceiveViewModel ( List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : System

constructor with the testable repositories and the user the user is required because we need to decide what wareshouses to display for her.

Приватные методы

Метод Описание
InitalizeViewModel ( ) : void

Initalizes the view model.

InitalizeViewModel ( List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : void

Initalizes the view model.

Описание методов

GenerateReceive() публичный Метод

Generates the receive.
public GenerateReceive ( ) : BLL.Receive
Результат BLL.Receive

GenerateReceiveModel() публичный статический Метод

Generates the receive model.
public static GenerateReceiveModel ( BLL receive, List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : Models.ReceiveViewModel
receive BLL The receive.
commodities List
commodityGrades List
transporters List
commodityTypes List
commoditySources List
programs List
donors List
hubs List
user DRMFSS.BLL.UserProfile The user.
Результат Models.ReceiveViewModel

GenerateReceiveModel() публичный статический Метод

Generates the receive model.
public static GenerateReceiveModel ( BLL receive, UserProfile user ) : Models.ReceiveViewModel
receive BLL The receive.
user DRMFSS.BLL.UserProfile The user.
Результат Models.ReceiveViewModel

InitializeEditLists() публичный Метод

Initializes the edit lists.
public InitializeEditLists ( List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : void
commodities List
commodityGrades List
transporters List
commodityTypes List
commoditySources List
programs List
donors List
hubs List
user DRMFSS.BLL.UserProfile
Результат void

InitializeEditLists() публичный Метод

Initializes the edit lists.
public InitializeEditLists ( UserProfile user ) : void
user DRMFSS.BLL.UserProfile
Результат void

ReceiveViewModel() публичный Метод

parameterless constructor, which is hidden so that this object is not constructed with out the user being specified,
public ReceiveViewModel ( ) : System
Результат System

ReceiveViewModel() публичный Метод

constructor with the testable repositories and the user the user is required because we need to decide what wareshouses to display for her.
public ReceiveViewModel ( IUnitOfWork unitOfWork, BLL user ) : System
unitOfWork IUnitOfWork
user BLL
Результат System

ReceiveViewModel() публичный Метод

constructor with the testable repositories and the user the user is required because we need to decide what wareshouses to display for her.
public ReceiveViewModel ( List commodities, List commodityGrades, List transporters, List commodityTypes, List commoditySources, List programs, List donors, List hubs, UserProfile user ) : System
commodities List
commodityGrades List
transporters List
commodityTypes List
commoditySources List
programs List
donors List
hubs List
user DRMFSS.BLL.UserProfile
Результат System