public override object Clone() { var clone = (FaultTreeIllustrationPoint)base.Clone(); clone.Stochasts = Stochasts.Select(s => (Stochast)s.Clone()).ToArray(); return(clone); }
public override object Clone() { var clone = (SubMechanismIllustrationPoint)base.Clone(); clone.Stochasts = Stochasts.Select(s => (SubMechanismIllustrationPointStochast)s.Clone()).ToArray(); clone.IllustrationPointResults = IllustrationPointResults.Select(r => (IllustrationPointResult)r.Clone()).ToArray(); return(clone); }
public object Clone() { var clone = (GeneralResult <T>)MemberwiseClone(); clone.GoverningWindDirection = (WindDirection)GoverningWindDirection.Clone(); clone.Stochasts = Stochasts.Select(s => (Stochast)s.Clone()).ToArray(); clone.TopLevelIllustrationPoints = TopLevelIllustrationPoints.Select(s => (T)s.Clone()).ToArray(); return(clone); }