Add project files.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace LiteCharmsSecurity.STS.Identity.Helpers
|
||||
{
|
||||
public static class KeyValuePairExtensions
|
||||
{
|
||||
public static bool IsDefault<T>(this T value) where T : struct
|
||||
{
|
||||
var isDefault = value.Equals(default(T));
|
||||
|
||||
return isDefault;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user