// Results // Business constructor public Message( MessageBoard messageBoard ,Domain domain ,string text ) { _unique = Guid.NewGuid(); InitializeResults(); _messageBoard = new PredecessorObj<MessageBoard>(this, GetRoleMessageBoard(), messageBoard); _domain = new PredecessorObj<Domain>(this, GetRoleDomain(), domain); _text = text; }
public CorrespondenceFact CreateFact(FactMemento memento) { Domain newFact = new Domain(memento); return newFact; }
public CorrespondenceFact GetNullInstance() { return(Domain.GetNullInstance()); }
public CorrespondenceFact GetUnloadedInstance() { return(Domain.GetUnloadedInstance()); }
public void WriteFactData(CorrespondenceFact obj, BinaryWriter output) { Domain fact = (Domain)obj; }
private void LoadDomain() { _community.Perform(async delegate { var domain = await _community.AddFactAsync(new Domain()); Domain = domain; _community.BeginSending(); _community.BeginReceiving(); }); }