C# Класс Cats.Models.Hubs.ReceiptAllocationViewModel

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

Private Properties

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

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

Метод Описание
GenerateAllocationViewModel ( ReceiptAllocation receiptAllocation ) : ReceiptAllocationViewModel

Generates the allocation view model.

GenerateReceiptAllocation ( ) : ReceiptAllocation

Generates the receipt allocation.

InitalizeViewModel ( List commodities, List donors, List allHubs, List programs, List commoditySources, List commodityTypes, List receiveList ) : void

Initalizes the view model.

ReceiptAllocationViewModel ( ) : System

Initializes a new instance of the ReceiptAllocationViewModel class.

ReceiptAllocationViewModel ( List commodities, List donors, List allHubs, List programs, List commoditySources, List commodityTypes, UserProfile user, List receiveList ) : System

Initializes a new instance of the ReceiptAllocationViewModel class.

Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.Collections.Generic.IEnumerable

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

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

Generates the allocation view model.
public static GenerateAllocationViewModel ( ReceiptAllocation receiptAllocation ) : ReceiptAllocationViewModel
receiptAllocation ReceiptAllocation The receipt allocation.
Результат ReceiptAllocationViewModel

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

Generates the receipt allocation.
public GenerateReceiptAllocation ( ) : ReceiptAllocation
Результат ReceiptAllocation

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

Initalizes the view model.
public InitalizeViewModel ( List commodities, List donors, List allHubs, List programs, List commoditySources, List commodityTypes, List receiveList ) : void
commodities List
donors List
allHubs List
programs List
commoditySources List
commodityTypes List
receiveList List
Результат void

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

Initializes a new instance of the ReceiptAllocationViewModel class.
public ReceiptAllocationViewModel ( ) : System
Результат System

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

Initializes a new instance of the ReceiptAllocationViewModel class.
public ReceiptAllocationViewModel ( List commodities, List donors, List allHubs, List programs, List commoditySources, List commodityTypes, UserProfile user, List receiveList ) : System
commodities List
donors List
allHubs List
programs List
commoditySources List
commodityTypes List
user UserProfile
receiveList List
Результат System

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

public Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.Collections.Generic.IEnumerable
validationContext System.ComponentModel.DataAnnotations.ValidationContext
Результат System.Collections.Generic.IEnumerable