Z.ExtensionMethods

C# Extension Methods | Over 1000 extension methods:

MIT License

Stars
1.6K
Committers
6

Bot releases are hidden (Show)

Z.ExtensionMethods - v2.1.1 Latest Release

Published by JonathanMagnan almost 6 years ago

  • ADDED: FileInfo.CountLines && FileInfo.CountLines(predicate) #22
  • MERGED: StreamReader.SkipLines() #21
Z.ExtensionMethods - V.2.1.0

Published by JonathanMagnan over 6 years ago

  • ADDED: .NET Standard / Core support? #10
  • MERGED: Add String.EqualsIgnoreCase() to Z.Core #14
  • MERGED: New IList extension method - Swap #13

Download the library here: https://github.com/zzzprojects/Z.ExtensionMethods

Z.ExtensionMethods - V.2.0.13

Published by JonathanMagnan about 7 years ago

Version 2.0.13

  • FIXED: Issue with XML Documentation / Comment was not appearing (Issue #6)

Download the library here: https://github.com/zzzprojects/Z.ExtensionMethods

Z.ExtensionMethods - V.2.0.12

Published by JonathanMagnan over 7 years ago

Version 2.0.12

  • ADDED: Overload to allow null value to use instead the default value specified (Pull #5)

Download the library here: https://github.com/zzzprojects/Z.ExtensionMethods

Z.ExtensionMethods - V.2.0.11

Published by JonathanMagnan over 7 years ago

Version 2.0.10

Download the library here: https://github.com/zzzprojects/Z.ExtensionMethods

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.10)

Published by zzzprojects almost 9 years ago

Version 2.0.10

  • CHANGED: All assemblies are now strongly named.

View online documentation:
http://www.zzzprojects.com/documentations/dotnet/extension-methods/

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.9)

Published by zzzprojects about 9 years ago

Version 2.0.9

UNDO naming breaking change to Version 2.0.4. Prefix are not longer needed since database have now their own DLL.

  • MOVED: MySql, SqlServerCe && SQLite in their own dll to remove some dependency error reported.
  • BREAKING CHANGES: Removed prefix "MySQL" to All MySql methods.
  • BREAKING CHANGES: Removed prefix "SqlCe" to All SqlServerCe methods.
  • BREAKING CHANGES: Removed prefix "SQLite" to All SQLite methods.

View online documentation:
http://www.zzzprojects.com/documentations/dotnet/extension-methods/

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.8)

Published by zzzprojects about 9 years ago

Version 2.0.8

Added few methods used for the next major version of .NET Runtime Compiler.

  • ADDED: Byte.SqlSystemTypeToSqlDbType
  • ADDED: Int16.SqlSystemTypeToSqlDbType
  • ADDED: Int.SqlSystemTypeToSqlDbType
  • ADDED: GetCustomAttributeByFullName
  • ADDED: GetCustomAttributeByName
  • ADDED: GetCustomAttributesByFullName
  • ADDED: GetCustomAttributesByName
  • ADDED/FIXED: GetCustomAttribute (Support enum, class, MemberInfo)
  • ADDED/FIXED: GetCustomAttributes (Support enum, class, MemberInfo)
  • ADDED/FIXED: GetCustomAttributeDescription (Support enum, class, MemberInfo)

View online documentation:
http://www.zzzprojects.com/documentations/dotnet/extension-methods/

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.7)

Published by zzzprojects about 9 years ago

Version 2.0.7

Added few methods used for the next major version of .NET Runtime Compiler.

  • ADDED: StringBuilder.ExtractChar
  • ADDED: StringBuilder.ExtractComment
  • ADDED: StringBuilder.ExtractCommentMultiLine
  • ADDED: StringBuilder.ExtractCommentSingle
  • ADDED: StringBuilder.ExtractHexadecimal
  • ADDED: StringBuilder.ExtractNumber
  • ADDED: StringBuilder.ExtractOperator
  • ADDED: StringBuilder.ExtractString
  • ADDED: StringBuilder.ExtractStringArobasDoubleQuote
  • ADDED: StringBuilder.ExtractStringArobasSingleQuote
  • ADDED: StringBuilder.ExtractStringDoubleQuote
  • ADDED: StringBuilder.ExtractStringSingleQuote
  • ADDED: StringBuilder.ExtractStringToken
  • ADDED: StringBuilder.ExtractStringTriviaToken

View online documentation:
http://www.zzzprojects.com/documentations/dotnet/extension-methods/

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.6)

Published by zzzprojects about 9 years ago

Version 2.0.6

  • ADDED: FULL API documentation powered by .NET Documentation Generator (v.0.0.2 Alpha)
  • ADDED: DirectoryInfo.CopyTo // Copy the source directory to the destination directory
  • ADDED: Object.Try // Try an action and return the value or a bool
  • ADDED: ConstructorInfo.GetSignature // Get the signature
  • ADDED: FieldInfo.GetSignature // Get the signature
  • ADDED: MemberInfo.GetSignature // Get the signature
  • ADDED: MethodInfo.GetSignature // Get the signature
  • ADDED: ParameterInfo.GetSignature // Get the signature
  • ADDED: PropertyInfo.GetSignature // Get the signature
  • ADDED: TypeInfo.GetSignature // Get the signature
  • FIXED: TypeInfo.GetDeclarations (Added support 'in' modifier, 'out' modifier, 'new', 'class')

View online documentations:
http://www.zzzprojects.com/documentations/dotnet/extension-methods/

Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.5)

Published by zzzprojects over 9 years ago

Version 2.0.5

Breaking Changes was necessary due to how extension methods were resolved. By example ExecuteDataSet used with SQL Server required DLL from MySql, SQLite and SQL Compact even if you don't use these databases. All databases but SQL Server now require a prefix.

  • BREAKING CHANGES: All MySql methods have been renamed with the prefix MySql
  • BREAKING CHANGES: All SQLite methods have been renamed with the prefix SQLite
  • BREAKING CHANGES: All SqlCe methods have been renamed with the prefix SqlCe
  • FIXED: StringBuilder extension methods now returns the StringBuilder
  • ADDED: String.IsAnagram
  • ADDED: String.IsPalindrome
  • ADDED: StringBuilder.AppendIf
Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.4)

Published by zzzprojects over 9 years ago

Version 2.0.4

  • ADDED: All extensions methods source is now also available in VB.NET
  • ADDED: IEnumerable<IEnumerable> MergeInnerEnumerable
  • ADDED: IEnumerable<IEnumerable> MergeDistinctInnerEnumerable
  • ADDED: String.StripHtml
  • ADDED: StringBuilder.Substring
  • ADDED: StringBuilder.GetIndexAfterNextDoubleQuote
  • ADDED: StringBuilder.GetIndexAfterNextSingleQuote
  • ADDED: ConstructorInfo.GetDeclaration
  • ADDED: FieldInfo.GetDeclaration
  • ADDED: MemberInfo.GetDeclaration
  • ADDED: MethodInfo.GetDeclaration
  • ADDED: ParameterInfo.GetDeclaration
  • ADDED: PropertyInfo.GetDeclaration
  • ADDED: TypeInfo.GetDeclaration
Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.3)

Published by zzzprojects over 9 years ago

Version 2.0.3

  • ADDED: IEnumerable.ForEach(Action<T, int>)
  • ADDED: StringBuilder.AppendJoin(separator, values)
  • ADDED: StringBuilder.AppendLineJoin(separator, values)
  • ADDED: String.Replace(startIndex, length, newValue)
  • ADDED: Environment.SpecialFolder.GetFolderPath()
Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.2)

Published by zzzprojects over 9 years ago

Version 2.0.0

The Source Code has moved to GitHub

  • Added - Support for Z.ExtensionMethods.WithObjectNamespace
  • Added - Support for Z.ExtensionMethods.WithOneNamespace
  • Added - Support for Z.ExtensionMethods.WithTwoNamespace
  • Added - Support for Z.ExtensionMethods.WithNamespace

More information about which library is most appropriate for you can be found here: (http://www.zzzprojects.com/extension-methods/)

New Methods

  • Added - String.IsNotNullOrWhiteSpace
  • Added - IfNotNull(Action)

A new library, Z.Accessor, is under development. This library will resolve accessor and lambda expression and will include features like string.FormatAccessor(), case sensitive, alternative path resolution and more. This library will replace some methods that were included in the Z.ExtensionMethods, we had no other choice but to remove them due to names conflicts.

  • Removed - Z.Linq.Expression namespace
  • Removed - Accessor extensions from Z.Reflection namespace
Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.1)

Published by zzzprojects over 9 years ago

Version 2.0.0

The Source Code has moved to GitHub

  • Added - Support for Z.ExtensionMethods.WithObjectNamespace(coming soon)
  • Added - Support for Z.ExtensionMethods.WithOneNamespace(coming soon)
  • Added - Support for Z.ExtensionMethods.WithTwoNamespace
  • Added - Support for Z.ExtensionMethods.WithNamespace

More information about which library is most appropriate for you can be found here: (http://www.zzzprojects.com/extension-methods/)

New Methods

  • Added - String.IsNotNullOrWhiteSpace
  • Added - IfNotNull(Action)

A new library, Z.Accessor, is under development. This library will resolve accessor and lambda expression and will include features like string.FormatAccessor(), case sensitive, alternative path resolution and more. This library will replace some methods that were included in the Z.ExtensionMethods, we had no other choice but to remove them due to names conflicts.

  • Removed - Z.Linq.Expression namespace
  • Removed - Accessor extensions from Z.Reflection namespace
Z.ExtensionMethods - Z.ExtensionMethods (V.2.0.0)

Published by zzzprojects over 9 years ago

Version 2.0.0

The Source Code has moved to GitHub

  • Added - Support for Z.ExtensionMethods.WithObjectNamespace(coming soon)
  • Added - Support for Z.ExtensionMethods.WithOneNamespace(coming soon)
  • Added - Support for Z.ExtensionMethods.WithTwoNamespace(coming soon)
  • Added - Support for Z.ExtensionMethods.WithNamespace(coming soon)
    More information about which library is most appropriate for you can be found here: (http://www.zzzprojects.com/extension-methods/)

New Methods

  • Added - String.IsNotNullOrWhiteSpace
  • Added - IfNotNull(Action)

A new library, Z.Accessor, is under development. This library will resolve accessor and lambda expression and will include features like string.FormatAccessor(), case sensitive, alternative path resolution and more. This library will replace some methods that were included in the Z.ExtensionMethods, we had no other choice but to remove them due to names conflicts.

  • Removed - Z.Linq.Expression namespace
  • Removed - Accessor extensions from Z.Reflection namespace