public CompanyViewModel(Share share, NavigationModel navigationModel, NewEntryModel newEntry) { _newEntry = newEntry; _share = share; _navigationModel = navigationModel; }
// Fields // Results // Business constructor public ShareRevoke( Share share ) { InitializeResults(); _share = new PredecessorObj<Share>(this, GetRoleShare(), share); }
public CompanyHeaderViewModel(Share share) { _share = share; }
public CorrespondenceFact CreateFact(FactMemento memento) { Share newFact = new Share(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { newFact._unique = (Guid)_fieldSerializerByType[typeof(Guid)].ReadData(output); } } return newFact; }