Skip to content

Commit 2bcdbea

Browse files
committed
Changed to netstandard2.0
Cleaned up some other stuff
1 parent e348de9 commit 2bcdbea

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

Wiki.Net.Example/Example.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
#region
2-
3-
using System;
1+
using System;
42
using System.Net;
53

6-
#endregion
7-
84
namespace CreepysinStudios.WikiDotNet.Example
95
{
106
internal static class Example

Wiki.Net/Wiki.Net.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.2</TargetFramework>
4+
<TargetFramework>netstandard2.0</TargetFramework>
55
<RootNamespace>CreepysinStudios.WikiDotNet</RootNamespace>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
<Title>Wiki.Net</Title>
88
<Authors>Creepysin; EternalClickbait; HelloHowIsItGoing</Authors>
99
<RepositoryUrl>https://github.com/Creepysin-Studios/Wiki.Net</RepositoryUrl>
10-
<PackageTags>wiki, wikipedia, wikipedia-api, API, unofficial, dotnet,</PackageTags>
10+
<PackageTags>wiki, wikipedia, wikipedia-api, API, unofficial, dotnet</PackageTags>
1111
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
12-
<PackageVersion>2.0.1</PackageVersion>
12+
<PackageVersion>2.1.0</PackageVersion>
1313
<Description>Wiki.Net - Wiki.Net – An unofficial C# Wikipedia API</Description>
1414
<Version>2.1.0</Version>
1515
<Company>Creepysin-Studios</Company>

Wiki.Net/WikiSearchSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace CreepysinStudios.WikiDotNet
55
{
66
/// <summary>
7-
/// A struct containing settings for use when searching with <see cref="WikiSearcher" />.
7+
/// A class containing settings for use when searching with <see cref="WikiSearcher" />.
88
/// <see cref="WikiSearcher.Search" />
99
/// </summary>
1010
public sealed class WikiSearchSettings

Wiki.Net/WikiSearcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static WikiSearchResponse Search(string searchString, WikiSearchSettings
8989
args.Add("sroffset", searchSettings.ResultOffset.ToString());
9090
//If the namespaces list is null use "*" which means all of them
9191
args.Add("srnamespace",
92-
searchSettings.Namespaces == null ? "*" : string.Join('|', searchSettings.Namespaces));
92+
searchSettings.Namespaces == null ? "*" : string.Join("|", searchSettings.Namespaces));
9393
//If we should search for the exact string
9494
args.Add("srwhat", searchSettings.ExactMatch ? "nearmatch" : "text");
9595
//Get which server we were served by

0 commit comments

Comments
 (0)