C# 클래스 Gtd.CoreDomain.AppServices.TrustedSystem.StuffInfo

These "Info" objects maintain only invariants within themselves. Invariants between entities are maintained by the state. This helps to achieve more encapsulated code. This code is pleasant to work with and we know that there will be no side effects. Rules/biz logic can be enforced in this class and they will not be broken by outside or new parties/developers to the code. (ex: if Action is Archived then its current Completion state must never change)
파일 보기 프로젝트 열기: beingtheworst/btw-gtd 1 사용 예제들

공개 메소드들

메소드 설명
ChangeDescription ( string newDescriptionOfStuff ) : void
StuffInfo ( StuffId id, string stuffDescription ) : System

메소드 상세

ChangeDescription() 공개 메소드

public ChangeDescription ( string newDescriptionOfStuff ) : void
newDescriptionOfStuff string
리턴 void

StuffInfo() 공개 메소드

public StuffInfo ( StuffId id, string stuffDescription ) : System
id StuffId
stuffDescription string
리턴 System