/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInSilverlightException"/> class. /// </summary> /// <param name="reasonFormat">The reason format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInSilverlightException(string reasonFormat = "", params object[] args) : base(ResourceHelper.GetString("NotSupportedInSilverlight")) { Reason = string.Format(reasonFormat, args); }
/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInWindowsPhone7Exception"/> class. /// </summary> /// <param name="reasonFormat">The reason format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInWindowsPhone7Exception(string reasonFormat = "", params object[] args) : base(ResourceHelper.GetString(typeof(NotSupportedInWindowsPhone7Exception), "Exceptions", "NotSupportedInWindowsPhone7")) { Reason = string.Format(reasonFormat, args); }
/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInPlatformException"/> class. /// </summary> /// <param name="featureFormat">The feature format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInPlatformException(string featureFormat = "", params object[] args) : base(ResourceHelper.GetString("NotSupportedInPlatform")) { Reason = string.Format(featureFormat, args); Platform = Platforms.CurrentPlatform; }
/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInSilverlightException"/> class. /// </summary> /// <param name="reasonFormat">The reason format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInSilverlightException(string reasonFormat = "", params object[] args) : base(ResourceHelper.GetString(typeof(NotSupportedInSilverlightException), "Catel.Properties.Exceptions", "NotSupportedInSilverlight")) { Reason = string.Format(reasonFormat, args); }