Skip to content

Commit 75030b5

Browse files
committed
support .NET Core and StyleCop fixes
1 parent 98298c5 commit 75030b5

34 files changed

+1407
-761
lines changed

BuildNuGetPackages.ps1

Lines changed: 0 additions & 23 deletions
This file was deleted.

Directory.Build.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Version>1.1</Version>
4+
<FileVersion>1.1.0.0</FileVersion>
5+
<Product>Fossology.Rest.Dotnet</Product>
6+
<Company></Company>
7+
<Copyright>Copyright © 2019-2020 T. Graf</Copyright>
8+
<Authors>T. Graf</Authors>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<RepositoryType>git</RepositoryType>
11+
<PackageProjectUrl>https://github.com/fossology/FOSSology.REST.dotnet</PackageProjectUrl>
12+
<RepositoryUrl>https://github.com/fossology/FOSSology.REST.dotnet</RepositoryUrl>
13+
<PackageTags>FOSSology REST API</PackageTags>
14+
</PropertyGroup>
15+
</Project>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// ---------------------------------------------------------------------------
2+
// <copyright file="DeciderInfo.cs" company="Tethys">
3+
// Copyright (C) 2019-2020 T. Graf
4+
// </copyright>
5+
//
6+
// Licensed under the MIT License.
7+
// SPDX-License-Identifier: MIT
8+
//
9+
// Unless required by applicable law or agreed to in writing,
10+
// software distributed under the License is distributed on an
11+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
// either express or implied.
13+
// ---------------------------------------------------------------------------
14+
15+
namespace Fossology.Rest.Dotnet.Model
16+
{
17+
using Newtonsoft.Json;
18+
19+
/// <summary>
20+
/// Trigger decider information.
21+
/// </summary>
22+
public class DeciderInfo
23+
{
24+
/// <summary>
25+
/// Gets or sets a value indicating whether to use the nomos/monk decisions.
26+
/// </summary>
27+
[JsonProperty("nomos_monk")]
28+
public bool NomosMonk { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets a value indicating whether to reuse bulk result.
32+
/// </summary>
33+
[JsonProperty("bulk_reused")]
34+
public bool BulkReused { get; set; }
35+
36+
/// <summary>
37+
/// Gets or sets a value indicating whether to use the new scanner.
38+
/// </summary>
39+
[JsonProperty("new_scanner")]
40+
public bool NewScanner { get; set; }
41+
42+
/// <summary>
43+
/// Gets or sets a value indicating whether to use the <c>ojo</c> decider.
44+
/// </summary>
45+
[JsonProperty("ojo_decider")]
46+
public bool OjoDecider { get; set; }
47+
} // DeciderInfo
48+
}

Fossology.Rest.Dotnet.Model/Fossology.Rest.Dotnet.Model.nuspec

Lines changed: 0 additions & 28 deletions
This file was deleted.

Fossology.Rest.Dotnet.Model/Fossology.Rest.Dotnet.Model.ruleset

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)