C# 클래스 Sample.Domain.InventoryItem

상속: AggregateRoot
파일 보기 프로젝트 열기: thedersen/DDDCourse

공개 메소드들

메소드 설명
Activate ( ) : void
AdjustInventoryCount ( int adjustBy ) : void
ChangeDetails ( string name, string description ) : void
Deactivate ( ) : void
InventoryItem ( System.Guid id ) : System
InventoryItem ( System.Guid id, string name, string description, int count, bool isActive ) : System

비공개 메소드들

메소드 설명
ApplyInventoryItemActivatedEvent ( InventoryItemActivatedEvent e ) : void
ApplyInventoryItemCountAdjustedEvent ( InventoryItemCountAdjustedEvent e ) : void
ApplyInventoryItemCreatedEvent ( InventoryItemCreatedEvent e ) : void
ApplyInventoryItemDeactivatedEvent ( InventoryItemDeactivatedEvent e ) : void
ApplyInventoryItemDetailsChangedEvent ( InventoryItemDetailsChangedEvent e ) : void

메소드 상세

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

AdjustInventoryCount() 공개 메소드

public AdjustInventoryCount ( int adjustBy ) : void
adjustBy int
리턴 void

ChangeDetails() 공개 메소드

public ChangeDetails ( string name, string description ) : void
name string
description string
리턴 void

Deactivate() 공개 메소드

public Deactivate ( ) : void
리턴 void

InventoryItem() 공개 메소드

public InventoryItem ( System.Guid id ) : System
id System.Guid
리턴 System

InventoryItem() 공개 메소드

public InventoryItem ( System.Guid id, string name, string description, int count, bool isActive ) : System
id System.Guid
name string
description string
count int
isActive bool
리턴 System