Exemplo n.º 1
0
 protected bool Equals(Age other)
 {
     return(_months == other._months && _years == other._years);
 }
Exemplo n.º 2
0
 public EveCharacter([NotNull] string id, [NotNull] string name, double securityStatus, [NotNull] Age age, [NotNull] string corporation, [CanBeNull] string alliance, IEnumerable <CharacterPosition> knownPositions)
 {
     _id             = id;
     _name           = name;
     _securityStatus = securityStatus;
     _age            = age;
     _corporation    = corporation;
     _alliance       = alliance;
     _knownPositions = new LinkedList <CharacterPosition>(knownPositions);
     InitCoalitions();
     Settings.Default.PropertyChanged += SettingsPropertyChanged;
 }