Пример #1
0
 public bool Is(IObject otherStat)
 {
     if (otherStat is UAH)
     {
         return(UAH.Is(otherStat));
     }
     else if (otherStat is USD)
     {
         return(USD.Is(otherStat));
     }
     return(false);
 }
Пример #2
0
 public bool PositiveEffect(IObject otherStat)
 {
     if (otherStat is UAH)
     {
         return(UAH.PositiveEffect(otherStat));
     }
     else if (otherStat is USD)
     {
         return(USD.PositiveEffect(otherStat));
     }
     return(false);
 }
Пример #3
0
 public bool NegativeEffect(IObject otherStat)
 {
     if (otherStat is UAH)
     {
         if (UAH.Is(otherStat))
         {
             return(UAH.NegativeEffect(otherStat));
         }
     }
     else if (otherStat is USD)
     {
         if (USD.Is(otherStat))
         {
             return(USD.NegativeEffect(otherStat));
         }
     }
     return(false);
 }
Пример #4
0
 public Valutes(UAH UAH, USD USD)
 {
     this.UAH = UAH;
     this.USD = USD;
 }
Пример #5
0
 public void Check(TimeStat Time)
 {
     UAH.Check(Time);
     USD.Check(Time);
 }