Skip to content

Commit

Permalink
putting netstandard2.1 in the list of frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr committed Jan 18, 2024
1 parent 8f62c06 commit f0964f3
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dgmjr.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
<!-- <TargetFrameworks>netstandard1.3;netstandard1.5;netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0</TargetFrameworks> -->
<AssemblyName>Dgmjr.Abstractions</AssemblyName>
<PackageId>Dgmjr.Abstractions</PackageId>
Expand Down
35 changes: 35 additions & 0 deletions IHaveAnEnumValue.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* IHaveAnEnumValue.cs
*
* Created: 2024-08-16T07:08:02-05:00
* Modified: 2024-08-16T07:08:02-05:00
*
* Author: David G. Moore, Jr. <[email protected]>
*
* Copyright © 2024 David G. Moore, Jr., All Rights Reserved
* License: MIT (https://opensource.org/licenses/MIT)
*/

namespace Dgmjr.Abstractions;

public interface IHaveAnEnumValue
{
System.Enum EnumValue { get; }
}

public interface IHaveAnEnumValue<TEnum> : IHaveAnEnumValue
where TEnum : System.Enum
{
new TEnum EnumValue { get; }
}

public interface IHaveAWritableEnumValue : IHaveAnEnumValue
{
new System.Enum EnumValue { get; set; }
}

public interface IHaveAWritableEnumValue<TEnum> : IHaveAWritableEnumValue, IHaveAnEnumValue<TEnum>
where TEnum : System.Enum
{
new TEnum EnumValue { get; set; }
}
35 changes: 35 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
date: 2023-07-13T05:44:46:00.048Z
description: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, yadda, yadda, yadda...
keywords:
- IP
- copyright
- license
- mit
permissions:
- commercial-use
- modifications
- distribution
- private-use
conditions:
- include-copyright
limitations:
- liability
- warranty
lastmod: 2023-08-29T17:13:51:00.216Z
license: MIT
slug: mit-license
title: MIT License
type: license
---

# MIT License

## Copyright © 2022-2023 [David G. Moore, Jr.](mailto:[email protected] "Send David an email") ([@dgmjr](https://github.com/dgmjr "Contact david on GitHub")), All Rights Reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit f0964f3

Please sign in to comment.