source code checkin

This commit is contained in:
Brett Hewitson 2021-01-07 16:23:23 +10:00
parent 5f8fb2c825
commit 7e57b72e35
675 changed files with 168433 additions and 0 deletions

View file

@ -0,0 +1,26 @@
using System;
using System.Runtime.Serialization;
using System.Security;
namespace WPFSharp.Globalizer.Exceptions
{
[Serializable]
public class StyleNotFoundException : ArgumentException, ISerializable
{
public StyleNotFoundException() : base() { }
public StyleNotFoundException(string message) : base(message) { }
public StyleNotFoundException(string message, Exception innerException) : base(message, innerException) { }
public StyleNotFoundException(string message, string invalidStyleName, Exception innerException) : base(message, innerException)
{
InvalidStyleName = invalidStyleName;
}
[SecuritySafeCritical]
protected StyleNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
public virtual string InvalidStyleName { get; private set; } = string.Empty;
}
}