-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IsPackable set via Directory.Build.props
- Loading branch information
Showing
6 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<MinClientVersion>2.12</MinClientVersion> | ||
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile> | ||
<Authors>MyCSharp.de, Benjamin Abt, Günther Foidl and Contributors</Authors> | ||
<PackageProjectUrl>https://github.com/mycsharp/HttpUserAgentParser</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<DefaultLanguage>en-US</DefaultLanguage> | ||
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject> | ||
<Description>HTTP User Agent Parser for .NET</Description> | ||
<NoPackageAnalysis>true</NoPackageAnalysis> | ||
<LangVersion>preview</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<DebugType>embedded</DebugType> | ||
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject> | ||
<IsBenchmarkProject>$(MsBuildProjectName.Contains('Benchmark'))</IsBenchmarkProject> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(IsTestProject)' != 'true' AND '$(IsBenchmarkProject)' != 'true'"> | ||
<IsPackable>true</IsPackable> | ||
<GenerateDocumentationFile Condition="'$(Configuration)' == 'Release'">true</GenerateDocumentationFile> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
src/MyCSharp.HttpUserAgentParser/Providers/IHttpUserAgentParserProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
// Copyright © myCSharp 2020-2021, all rights reserved | ||
// Copyright © myCSharp 2020-2021, all rights reserved | ||
|
||
namespace MyCSharp.HttpUserAgentParser.Providers | ||
{ | ||
/// <summary> | ||
/// Provides the basic parsing of user agent strings. | ||
/// </summary> | ||
public interface IHttpUserAgentParserProvider | ||
{ | ||
/// <summary> | ||
/// Parsed the <paramref name="userAgent"/>-string. | ||
/// </summary> | ||
/// <param name="userAgent">The user agent to parse.</param> | ||
/// <returns>The parsed user agent information</returns> | ||
HttpUserAgentInformation Parse(string userAgent); | ||
} | ||
} | ||
} |