Extension Methods Helper Package

Spread the word

Extension methods helper

Extension methods helper is a package contains many useful functions to make the development process easier.

Install

When you need to install Extensions Helper, run the following command in the Package Manager Console

PM> Install-Package ExtensionsHelper

2- the using section of the class add

using ExtensionsHelper;

Documentation

in this section we are going to explore the functions of the helper to know what are we exactly up to.

String Extenders

# Extender Name
1- IsDate()
2- Encrypt()
3- Decrypt()
4- FormatString()
5- IsNumeric()
6- IsEmailAddress()
7- StripHtml()
8- Parse()
9- ToSlug()
10- IsNullOrEmpty()
11- Ellipsis()
12- ToInt32()
13- ToInt64()
14- ToDecimal()
15- ToDouble()

Objects Extenders

# Extender Name
1- IsNull()
2- ToNull()
3- Between()
4- SerializeToXml()

Datatable Extenders

Extender Name
1- ToHtml()
2- ToCsv()
3- DeleteDuplicated()
4- ConvertToList()

Generics Extenders

# Extender Name
1- Distinct()
2- ToDataTable()
3- ToCsv()

Cookies Extenders

# Extender Name
1- SetCookie()
2- GetCookie()

Json Extenders

# Extender Name
1- ToJson()
2- FromJson()

Exception Extenders

# Extender Name
1- ToLogString()

 

you can find the package at nuget.org here