public Entry(IEntity what, ILocation where, IFuzzyDateTimeRange when, ICitation citation, IAudit audit) : base() { this[Entry.what] = what; this[Entry.where] = where; this[Entry.when] = when; this[Entry.citation] = citation; this[Entry.audit] = audit; }
public Person(string familyName, string givenName, DateTime?dateOfBirth, RegionInfo country, ICitation citation, IAudit audit) { this.FamilyName = familyName; this.GiveNames = new List <string>() { givenName }; this.DateOfBirth = dateOfBirth; this.Appointments = new List <TemporalRole>(); this.Country = country; Citation = citation; Audit = audit; this.Locations = new List <TemporalLocation>(); this.Hierarchy = new HashSet <TemporalChainOfCommand>(); }
protected AbstractOrganisation(string name, TemporalRole trole, RegionInfo country, long controlRange, long influenceRange, ICitation citation, IAudit audit) { this.Country = country; Citation = citation; Audit = audit; this.Name = $"{name} {Size}"; this.Purposes = new List <TemporalRole>() { trole }; this.ZoneOfControl = new SimpleZone(controlRange * trole.Role.ControlFactor, 1.0 / trole.Role.ControlFactor); this.ZoneOfInfluence = new SimpleZone(influenceRange * trole.Role.InfluenceFactor, 1.0 / trole.Role.InfluenceFactor); this.Personel = new List <TemporalRole>(); this.Locations = new List <TemporalLocation>(); this.Hierarchy = new HashSet <TemporalChainOfCommand>(); }
public Division(string name, TemporalRole role, RegionInfo country, ICitation citation, IAudit audit) : base(name, role, country, DEFAULT_CONTROL_RANGE, DEFAULT_INFLUENCE_RANGE, citation, audit) { }
protected AbstractTemporal(IFuzzyDateTime startDateTime, IFuzzyDateTime endDateTime, ICitation citation, IAudit audit) { DateTimeRange = new FuzzyDateRange(startDateTime, endDateTime); Citation = citation; Audit = audit; }
public TemporalRole(IRole role, IFuzzyDateTimeRange dateRange, ICitation citation, IAudit audit) : base(dateRange.StartDateTime, dateRange.EndDateTime, citation, audit) => this.Role = role;
public Entry(IEntity what, ICitation citation, IAudit audit) : this(what, null, null, citation, audit) { }
public TemporalChainOfCommand(IOrganisation superior, IOrganisation inferior, FuzzyDateRange fuzzyDateRange, ICitation citation, IAudit audit) : base(fuzzyDateRange.StartDateTime, fuzzyDateRange.EndDateTime, citation, audit) { this.Superior = superior; this.Inferior = inferior; }
private static void EstablishChainOfCommand(AbstractOrganisation superior, AbstractOrganisation inferior, FuzzyDateTime from, FuzzyDateTime to, ICitation citation, IAudit audit) { var coc = new TemporalChainOfCommand(superior, inferior, new FuzzyDateRange(from, to), citation, audit); inferior.AddHierarchy(coc); superior.AddHierarchy(coc); }
public TemporalLocation(ILocation location, IFuzzyDateTimeRange dateTimeRange, ICitation citation, IAudit audit) : base(dateTimeRange.StartDateTime, dateTimeRange.EndDateTime, citation, audit) { Location = location; }