Skip to content

Commit fc46dc7

Browse files
committed
v1.8.0 - added codefactor label and improved codefactory grade
1 parent 825a0b0 commit fc46dc7

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Website : https://www.ljnath.com
99
[![Nuget](https://img.shields.io/nuget/v/RandomString4Net)](https://www.nuget.org/packages/RandomString4Net/)
1010
[![Nuget](https://img.shields.io/nuget/dt/RandomString4Net)](https://www.nuget.org/stats/packages/RandomString4Net)
1111
![GitHub](https://img.shields.io/github/license/ljnath/RandomString4Net)
12+
![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/ljnath/RandOMString4Net)
1213

1314

1415
## Introduction

RandomString4Net.sln

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ EndProject
1010
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RandomString4Net", "RandomString4Net\RandomString4Net.csproj", "{F0A77092-0C76-4151-843C-CD1BD33174B0}"
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FA42BC52-B3AE-465A-BCCF-EDA5F1FF8804}"
13-
ProjectSection(SolutionItems) = preProject
14-
README.md = README.md
15-
EndProjectSection
1613
EndProject
1714
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RandomString4NetTesterDotNet", "RandomString4NetTesterDotNet\RandomString4NetTesterDotNet.csproj", "{3F3FA738-BED0-4183-B9B0-32B872B65273}"
1815
EndProject

RandomString4Net/RandomString.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public static string GetString(Types types, int maxLength = 10, bool randomLengt
7070
/// <exception cref="InvalidLengthException">Thown if <c>count</c> or <c>maxLenght</c> is less then or equal to 0</exception>
7171
public static string GetString(Types types, string symbolsToInclude, int maxLength = 10, bool randomLength = false, bool forceOccuranceOfEachType = false)
7272
{
73-
7473
#if NET20
7574
List<string> inputStrings = new List<string>();
7675
#else
@@ -118,7 +117,6 @@ public static List<string> GetStrings(Types types, int count, int maxLength = 10
118117
/// <exception cref="InvalidLengthException">Thown if <c>count</c> or <c>maxLenght</c> is less then or equal to 0</exception>
119118
public static List<string> GetStrings(Types types, int count, string symbolsToInclude, int maxLength = 10, bool randomLength = false, bool forceUnique = false, bool forceOccuranceOfEachType = false)
120119
{
121-
122120
#if NET20
123121
List<string> inputStrings = new List<string>();
124122
#else
@@ -135,7 +133,6 @@ public static List<string> GetStrings(Types types, int count, string symbolsToIn
135133
return GetRandomStrings(inputStrings.ToArray(), count, maxLength, randomLength, forceUnique, forceOccuranceOfEachType);
136134
}
137135

138-
139136
/// <summary>
140137
/// Checks if all the symbols specified in <c>inputSybols</c> are present in the list of supported symbols
141138
/// </summary>

0 commit comments

Comments
 (0)