Skip to content

Commit

Permalink
Merge pull request #42 from meokullu/remove_usings_0001
Browse files Browse the repository at this point in the history
v2.2.2 Unused usings are removed.
meokullu authored Apr 15, 2024
2 parents 6181bfc + 369dcea commit 6992104
Showing 6 changed files with 27 additions and 38 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@
#### Removed
-->

### [2.2.2]
#### Changed
* Removed unused usings.
* Missing summaries of methods are added.

### [2.2.1]
#### Changed
* Files splitting.
11 changes: 6 additions & 5 deletions PreFill/Prefill.csproj
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>2.2.1</Version>
<AssemblyVersion>2.2.1</AssemblyVersion>
<FileVersion>2.2.1</FileVersion>
<Version>2.2.2</Version>
<AssemblyVersion>2.2.2</AssemblyVersion>
<FileVersion>2.2.2</FileVersion>
<Copyright>Enes Okullu</Copyright>
<Description>PreFill is a project to align horizontally listed output values to right side in order to increase their legibility.</Description>
<Title>PreFill</Title>
@@ -16,8 +16,9 @@
<RepositoryType>git</RepositoryType>
<PackageTags>data-science; data; data-engineering; alignment; data-analysis; egibility</PackageTags>
<PackageReleaseNotes>
v.2.2.1
* Files splitting.
v.2.2.2
* Removed unused usings.
* Missed summaries of methods are added.
See changelog (https://github.com/meokullu/PreFill/blob/master/CHANGELOG.md)
</PackageReleaseNotes>
<SignAssembly>False</SignAssembly>
6 changes: 1 addition & 5 deletions PreFill/src/Filling.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text;

namespace PreFill
{
4 changes: 0 additions & 4 deletions PreFill/src/Length.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PreFill
{
20 changes: 7 additions & 13 deletions PreFill/src/PreFill.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PreFill
namespace PreFill
{
/// <summary>
/// PreFill
@@ -172,13 +166,13 @@ public static string PreFillCustom(string text, int maxLength, char charValue =
}

/// <summary>
/// TODO: Add summary.
/// Calculates length of given generic type of data then creates string with prefilling value of specified character before given data on limit of maximum length.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value"></param>
/// <param name="maxLength"></param>
/// <param name="text"></param>
/// <returns></returns>
/// <typeparam name="T">Generic type.</typeparam>
/// <param name="value">Generic type of data.</param>
/// <param name="maxLength">Maximum length of context including specified generic type of data as string and prefilling.</param>
/// <param name="text">Specified text whose will be used for prefilling.</param>
/// <returns>Returns prefill value for generic type of data as string.</returns>
public static string PreFillCustom<T>(T value, int maxLength, string text = " ")
{
// Getting length of given text.
19 changes: 8 additions & 11 deletions PreFill/src/PreFilled.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PreFill
{
/// <summary>
/// Prefilled
/// Returns PreFilled values with calling PreFill() and adding value after.
/// </summary>
public static partial class PreFill
{
@@ -144,12 +141,12 @@ public static string PreFilledCustom(string context, int maxLength, char text =
}

/// <summary>
///
/// Create prefilling values and add given value after prefilling value then returns it.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value"></param>
/// <param name="maxLength"></param>
/// <param name="text"></param>
/// <typeparam name="T">Generic type.</typeparam>
/// <param name="value">Generic type of data whose prefill value to be found.</param>
/// <param name="maxLength">Maximum length of text value with prefilling.</param>
/// <param name="text">Specified text to be used for prefilling.</param>
/// <returns></returns>
public static string PreFilledCustom<T>(T value, int maxLength, string text = " ")
{
@@ -487,4 +484,4 @@ public static List<string> PreFilledCustom(List<string> contextList, char text =
return resultList;
}
}
}
}

0 comments on commit 6992104

Please sign in to comment.