public Taiwan(Taiwan.Market m) : this(NQuantLibcPINVOKE.new_Taiwan__SWIG_0((int)m), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Taiwan obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Taiwan obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
private void OnDateChanged(DateTimeValue x) { HasValue = true; DateTime date = DateTime.Now; if (x is PersianDateValue) { date = Persian.ToDateTime(); } else if (x is GregorianDateValue) { date = Gregorian.ToDateTime(); } else if (x is HebrewDateValue) { date = Hebrew.ToDateTime(); } else if (x is HijriDateValue) { date = Hijri.ToDateTime(); } else if (x is JulianDateValue) { date = Julian.ToDateTime(); } else if (x is KoreanDateValue) { date = Korean.ToDateTime(); } else if (x is JapaneseDateValue) { date = Japanese.ToDateTime(); } else if (x is TaiwanDateValue) { date = Taiwan.ToDateTime(); } else if (x is KoreanLunisolarDateValue) { date = KoreanLunisolar.ToDateTime(); } else if (x is JapaneseLunisolarDateValue) { date = JapaneseLunisolar.ToDateTime(); } else if (x is TaiwanLunisolarDateValue) { date = TaiwanLunisolar.ToDateTime(); } else if (x is ChineseLunisolarDateValue) { date = ChineseLunisolar.ToDateTime(); } if (persian != null && !(x is PersianDateValue)) { Persian.DateChanged -= OnDateChanged; Persian.Read(date); } if (gregorian != null && !(x is GregorianDateValue)) { Gregorian.DateChanged -= OnDateChanged; Gregorian.Read(date); } if (julian != null && !(x is JulianDateValue)) { Julian.DateChanged -= OnDateChanged; Julian.Read(date); } if (hebrew != null && !(x is HebrewDateValue)) { Hebrew.DateChanged -= OnDateChanged; Hebrew.Read(date); } if (hijri != null && !(x is HijriDateValue)) { Hijri.DateChanged -= OnDateChanged; Hijri.Read(date); } if (korean != null && !(x is KoreanDateValue)) { Korean.DateChanged -= OnDateChanged; Korean.Read(date); } if (japanese != null && !(x is JapaneseDateValue)) { Japanese.DateChanged -= OnDateChanged; Japanese.Read(date); } if (taiwan != null && !(x is TaiwanDateValue)) { Taiwan.DateChanged -= OnDateChanged; Taiwan.Read(date); } if (koreanLunisolar != null && !(x is KoreanLunisolarDateValue)) { KoreanLunisolar.DateChanged -= OnDateChanged; KoreanLunisolar.Read(date); } if (japaneseLunisolar != null && !(x is JapaneseLunisolarDateValue)) { JapaneseLunisolar.DateChanged -= OnDateChanged; JapaneseLunisolar.Read(date); } if (taiwanLunisolar != null && !(x is TaiwanLunisolarDateValue)) { TaiwanLunisolar.DateChanged -= OnDateChanged; TaiwanLunisolar.Read(date); } if (chineseLunisolar != null && !(x is ChineseLunisolarDateValue)) { ChineseLunisolar.DateChanged -= OnDateChanged; ChineseLunisolar.Read(date); } if (persian != null && !(x is PersianDateValue)) { Persian.DateChanged += OnDateChanged; } if (gregorian != null && !(x is GregorianDateValue)) { Gregorian.DateChanged += OnDateChanged; } if (julian != null && !(x is JulianDateValue)) { Julian.DateChanged += OnDateChanged; } if (hebrew != null && !(x is HebrewDateValue)) { Hebrew.DateChanged += OnDateChanged; } if (hijri != null && !(x is HijriDateValue)) { Hijri.DateChanged += OnDateChanged; } if (korean != null && !(x is KoreanDateValue)) { Korean.DateChanged += OnDateChanged; } if (japanese != null && !(x is JapaneseDateValue)) { Japanese.DateChanged += OnDateChanged; } if (taiwan != null && !(x is TaiwanDateValue)) { Taiwan.DateChanged += OnDateChanged; } if (koreanLunisolar != null && !(x is KoreanLunisolarDateValue)) { KoreanLunisolar.DateChanged += OnDateChanged; } if (japaneseLunisolar != null && !(x is JapaneseLunisolarDateValue)) { JapaneseLunisolar.DateChanged += OnDateChanged; } if (taiwanLunisolar != null && !(x is TaiwanLunisolarDateValue)) { TaiwanLunisolar.DateChanged += OnDateChanged; } if (chineseLunisolar != null && !(x is ChineseLunisolarDateValue)) { ChineseLunisolar.DateChanged += OnDateChanged; } }