C# 클래스 Cats.Models.Hubs.ReceiptAllocationViewModel

파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

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