Exemplo n.º 1
0
 public void MapValues()
 {
     foreach (var node in ParentNodes)
     {
         node.TryMapValue();
     }
     TrackingObjective.TryMapValue();
     foreach (var trait in Traits)
     {
         trait.TryMapValue();
     }
 }
Exemplo n.º 2
0
 public bool DeepEquals(DestinyMetricDefinition other)
 {
     return(other != null &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            LowerValueIsBetter == other.LowerValueIsBetter &&
            ParentNodes.DeepEqualsReadOnlyCollections(other.ParentNodes) &&
            PresentationNodeType == other.PresentationNodeType &&
            TrackingObjective.DeepEquals(other.TrackingObjective) &&
            Traits.DeepEqualsReadOnlyCollections(other.Traits) &&
            TraitIds.DeepEqualsReadOnlySimpleCollection(other.TraitIds) &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }