Skip to content

Commit

Permalink
Update to v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
iAJTin committed Oct 12, 2020
1 parent 707b58b commit 3768ae5
Show file tree
Hide file tree
Showing 16 changed files with 405 additions and 286 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.0.6] -
## [1.0.6] - 2020-10-12

### Changed

- Library versions for this version

|Library|Version|Description|
|:------|:------|:----------|
|iTin.Core| **2.0.0.1** | Base library containing various extensions, helpers, common constants |
|iTin.Core.Hardware.Common| **1.0.0.1** | Common Hardware Infrastructure |
|iTin.Core.Hardware.Specification.Eedid|**1.0.0.6**| Implementation of the E-EDID (Extended Display Identification Data) specification |
|iTin.Logging| 1.0.0.0 | Logging library |

### Added


### Removed

- Removed **netcoreapp** targets. Current supported targets, **net461** and **netstandard20**

## [1.0.5] - 2020-10-07

Expand Down Expand Up @@ -125,6 +132,7 @@ All notable changes to this project will be documented in this file.
### Added
- Create project and first commit

[1.0.6]: https://github.com/iAJTin/iEEDID/releases/tag/v1.0.6
[1.0.5]: https://github.com/iAJTin/iEEDID/releases/tag/v1.0.5
[1.0.4]: https://github.com/iAJTin/iEEDID/releases/tag/v1.0.4
[1.0.3]: https://github.com/iAJTin/iEEDID/releases/tag/v1.0.3
Expand Down
373 changes: 175 additions & 198 deletions README.md

Large diffs are not rendered by default.

59 changes: 41 additions & 18 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,48 @@ What is iEEDID?

iEEDID is a lightweight implementation that allows us to obtain the the EEDID information.

Library versions
================

Library versions for current iEEDID version (1.0.5)

������������������������������������������������������������������������������������������������
| Library Version Description |
������������������������������������������������������������������������������������������������
|iTin.Core 2.0.0.0 Base library containing various |
| extensions, helpers, common constants |
������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Common 1.0.0.0 Common Hardware Infrastructure |
������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Specification.Eedid 1.0.0.5 Implementation of the E-EDID |
| (Extended Display Identification Data) |
| specification |
������������������������������������������������������������������������������������������������
|iTin.Logging 1.0.0.0 Logging library |
������������������������������������������������������������������������������������������������
Changes in this version (v1.0.6)
================================

Changed
-------

library versions
�������������������������������������������������������������������������������������������������������������������������������������������
| Library Version Description |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core 2.0.0.1 Base library containing various extensions, helpers, common constants |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Common 1.0.0.1 Common Hardware Infrastructure |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Specification.Eedid 1.0.0.6 Implementation of the E-EDID (Extended Display Identification Data) specification |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Logging 1.0.0.0 Logging library |
�������������������������������������������������������������������������������������������������������������������������������������������

Removed
-------

- Removed netcoreapp target. Current supported targets, net461 and netstandard20


v1.0.5
======

library versions
�������������������������������������������������������������������������������������������������������������������������������������������
| Library Version Description |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core 2.0.0.0 Base library containing various extensions, helpers, common constants |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Common 1.0.0.0 Common Hardware Infrastructure |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Core.Hardware.Specification.Eedid 1.0.0.5 Implementation of the E-EDID (Extended Display Identification Data) specification |
�������������������������������������������������������������������������������������������������������������������������������������������
|iTin.Logging 1.0.0.0 Logging library |
�������������������������������������������������������������������������������������������������������������������������������������������


Install via NuGet
=================
Expand Down
2 changes: 1 addition & 1 deletion nuget/BuildNuGet.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@ECHO OFF
CLS

..\src\.nuget\nuget Pack iEEDID.1.0.5.nuspec -NoDefaultExcludes -NoPackageAnalysis -OutputDirectory ..\deployment\nuget
..\src\.nuget\nuget Pack iEEDID.1.0.6.nuspec -NoDefaultExcludes -NoPackageAnalysis -OutputDirectory ..\deployment\nuget

pause

8 changes: 2 additions & 6 deletions nuget/iEEDID.1.0.5.nuspec → nuget/iEEDID.1.0.6.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>iEEDID</id>
<version>1.0.5</version>
<version>1.0.6</version>
<title>iEEDID</title>
<authors>iAJTin</authors>
<owners>iAJTin</owners>
Expand All @@ -20,15 +20,11 @@
</group>
<group targetFramework=".NETStandard2.0">
</group>
<group targetFramework=".NETCoreApp2.0">
</group>
<group targetFramework=".NETCoreApp2.1">
</group>
</dependencies>
</metadata>
<files>
<file src="..\README.txt" target="." />
<file src=".\iEEDID.png" target="." />
<file src="..\README.txt" target="." />
<file src="..\src\lib\net\iTin.Hardware\iTin.Hardware.Specification\iTin.Hardware.Specification.Eedid\bin\Release\**" target="lib" exclude="**\*.deps.json;**\*.pdb;" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

namespace iTin.Core.Hardware.Common.ComponentModel
{
using System.Collections.Generic;

/// <summary>
/// Define a suitable generic dictionary to store properties and their position inside a collection.
/// </summary>
public class PropertyItemDictionary : Dictionary<int, PropertyItem>
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,19 @@ public PropertyKey(Enum structureId, Enum propertyId, PropertyUnit propertyUnit)

#region [public] (string) GetPropertyName: Returns the property name
/// <summary>
/// Returns the property name.
/// Returns the property name. If is null or empty then returns this property name.
/// </summary>
/// <returns>
/// Property name.
/// </returns>
public string GetPropertyName() => PropertyId.GetPropertyName();
public string GetPropertyName()
{
string name = PropertyId.GetPropertyName();

return string.IsNullOrEmpty(name)
? PropertyId.ToString()
: name;
}
#endregion

#region [public] (Type) GetPropertyType: Returns the property type
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@

namespace iTin.Core.Hardware.Common
{
using System.Collections.Generic;

using iTin.Core.ComponentModel;

using ComponentModel;

/// <summary>
/// Specialization of <see cref="ResultBase{T}"/> interface.<br/>
/// Where <c>T</c> is <see cref="PropertyItemDictionary"/>.<br/>
/// Represents result after query operation.
/// </summary>
public class QueryPropertyDictionaryResult : ResultBase<PropertyItemDictionary>
{
/// <summary>
/// Returns a new <see cref="QueryPropertyDictionaryResult"/> with specified detailed error.
/// </summary>
/// <param name="message">Error message</param>
/// <param name="code">Error code</param>
/// <returns>
/// A new invalid <see cref="QueryPropertyDictionaryResult"/> with specified detailed error.
/// </returns>
public new static QueryPropertyDictionaryResult CreateErroResult(string message, string code = "") => CreateErroResult(new IResultError[] { new ResultError { Code = code, Message = message } });

/// <summary>
/// Returns a new <see cref="QueryPropertyDictionaryResult"/> with specified detailed error.
/// </summary>
/// <param name="message">Error message</param>
/// <param name="value">Result value</param>
/// <param name="code">Error code</param>
/// <returns>
/// A new invalid <see cref="QueryPropertyDictionaryResult"/> with specified detailed error.
/// </returns>
public new static QueryPropertyDictionaryResult CreateErroResult(string message, PropertyItemDictionary value, string code = "") => CreateErroResult(new IResultError[] { new ResultError { Code = code, Message = message } }, value);

/// <summary>
/// Returns a new <see cref="QueryPropertyDictionaryResult"/> with specified detailed errors collection.
/// </summary>
/// <param name="errors">A errors collection</param>
/// <returns>
/// A new invalid <see cref="QueryPropertyDictionaryResult"/> with specified detailed errors collection.
/// </returns>
public new static QueryPropertyDictionaryResult CreateErroResult(IResultError[] errors) =>
new QueryPropertyDictionaryResult
{
Value = default,
Success = false,
Errors = (IResultError[])errors.Clone()
};

/// <summary>
/// Returns a new <see cref="QueryPropertyDictionaryResult"/> with specified detailed errors collection.
/// </summary>
/// <param name="errors">A errors collection</param>
/// <param name="value">Result value</param>
/// <returns>
/// A new invalid <see cref="QueryPropertyDictionaryResult"/> with specified detailed errors collection.
/// </returns>
public new static QueryPropertyDictionaryResult CreateErroResult(IResultError[] errors, PropertyItemDictionary value) =>
new QueryPropertyDictionaryResult
{
Value = value,
Success = false,
Errors = (IResultError[])errors.Clone()
};

/// <summary>
/// Returns a new success result.
/// </summary>
/// <param name="value">Result value</param>
/// <returns>
/// A new valid <see cref="QueryPropertyDictionaryResult"/>.
/// </returns>
public new static QueryPropertyDictionaryResult CreateSuccessResult(PropertyItemDictionary value) =>
new QueryPropertyDictionaryResult
{
Value = value,
Success = true,
Errors = new List<IResultError>()
};

/// <summary>
/// Creates a new <see cref="QueryPropertyDictionaryResult"/> instance from known exception.
/// </summary>
/// <param name="exception">Target exception.</param>
/// <returns>
/// A new <see cref="QueryPropertyDictionaryResult"/> instance for specified exception.
/// </returns>
public new static QueryPropertyDictionaryResult FromException(System.Exception exception) => FromException(exception, default);

/// <summary>
/// Creates a new <see cref="QueryPropertyDictionaryResult"/> instance from known exception.
/// </summary>
/// <param name="exception">Target exception.</param>
/// <param name="value">Result value</param>
/// <returns>
/// A new <see cref="QueryPropertyDictionaryResult"/> instance for specified exception.
/// </returns>
public new static QueryPropertyDictionaryResult FromException(System.Exception exception, PropertyItemDictionary value) =>
new QueryPropertyDictionaryResult
{
Value = value,
Success = false,
Errors = new List<IResultError> { new ResultExceptionError { Exception = exception } }
};
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<Authors>iTin</Authors>
<Description>Common Hardware Infrastructure</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>1.0.0.0</Version>
<AssemblyName>iTin.Core.Hardware.Common</AssemblyName>
<PackageId>iTin.Core.Hardware.Common</PackageId>
<Version>1.0.0.1</Version>
<Authors>iTin</Authors>
<Company>iTin</Company>
<Product>iTin.Core.Hardware.Common</Product>
<Description>Generic Common Hardware Infrastructure</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ protected ResultBase()

#region public static properties

#region [public] {static} (IResult<T>) ErrorResult: Returns a new result indicating that output result has not been successfully
/// <summary>
/// Returns a new result indicating that output result has not been successfully.
/// </summary>
public static IResult<T> ErrorResult => new ResultBase<T> { Success = false };
#endregion

#region [public] {static} (IResult<T>) NullResult: Returns a new result indicating a null result
/// <summary>
/// Returns a new result indicating a null result.
Expand Down
13 changes: 7 additions & 6 deletions src/lib/net/iTin.Core/iTin.Core/iTin.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>2.0.0.0</Version>
<Description>Base library containing various extensions, helpers, common constants</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageProjectUrl></PackageProjectUrl>
<AssemblyName>iTin.Core</AssemblyName>
<PackageId>iTin.Core</PackageId>
<Version>2.0.0.1</Version>
<Authors>iTin</Authors>
<Company>iTin</Company>
<Product>iTin.Core</Product>
<Description>Base library containing various extensions, helpers, common constants</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
<Description>Implementation of the E-EDID (Extended Display Identification Data) specification</Description>
<Copyright>Copyright © 2019</Copyright>
<Authors>iTin</Authors>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>1.0.0.5</Version>
<AssemblyName>iTin.Hardware.Specification.Eedid</AssemblyName>
<PackageId>iTin.Hardware.Specification.Eedid</PackageId>
<Version>1.0.0.6</Version>
<Authors>iTin</Authors>
<Company>iTin</Company>
<Product>iTin.Hardware.Specification.Eedid</Product>
<Description>Implementation of the E-EDID (Extended Display Identification Data) specification</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
Expand Down
17 changes: 7 additions & 10 deletions src/lib/net/iTin.Logging/iTin.Logging/iTin.Logging.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>1.0.0.0</Version>
<Description>Logging library</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageProjectUrl></PackageProjectUrl>
<AssemblyName>iTin.Logging</AssemblyName>
<PackageId>iTin.Logging</PackageId>
<Version>1.0.0.0</Version>
<Authors>iTin</Authors>
<Company>iTin</Company>
<Product>iTin.Logging</Product>
<Description>Logging library</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\..\..\..\.editorconfig" Link=".editorconfig" />
</ItemGroup>

</Project>
Loading

0 comments on commit 3768ae5

Please sign in to comment.