/.NET_Family-ExtensionHelper

An Extension Helper For The .NET Family

Primary LanguageC#

.Net Family Extenstion Helpers

Summary

When starting a new project I felt that some of the time I was repeating code.
So I decided to create an Extenstion Helper,

Over time some of the people I work with starting requesting the extenstion helper class.
So from there I created this.

Requirements

  • For Adding your own extenstions, you will need .Net Standard.
  • Framework 4.6.2 Required For .Net
  • IF THERE ARE ANY OTHER REQUIREMENTS, PLEASE LET ME KNOW :)

Enums

  • OutputStyle
  • EncodingFormat

Extenstion Methods

  • EnumDescriptionToString
  • IsValidDirectoryPath
  • HasDuplicateItem
  • IsValidFilePath
  • TryCreateDirectory
  • TryCopyDirectory
  • BytesToHumanReadableSize
  • GetMimeType
  • IsWindows
  • TryGetFileCheckSum
  • TryWriteToTextFile
  • TryCreateTextFile
  • CompareFileVersionTo
  • IsValidEmailAddress
  • ReplaceMultiple
  • GetBytesCount
  • IsValidLength
  • ToEnum
  • WordCount
  • RecuriveChar
  • ToXmlDocument
  • ToXDocument
  • TryReadValueFromXmlDoc
  • ToWords
  • AssemblyVersion
  • PrintColouredText
  • BubbleSort
  • Swap
  • ToTitleCase
  • ToCamelCase
  • AgeFromDateTime
  • Owner
  • WatchPath
  • IsFileLocked
  • IsEmpty
  • IsDigitsOnly
  • ValidateLuhn
  • StreamToByteArray
  • IsOdd
  • ExtractHyperLinkFromData
  • IsReadOnly
  • AddReadOnlyAttribute
  • RemoveReadOnlyAttribute
  • RemoveIllegalCharsFromPath
  • TryExtractTextFromPDF
  • ToMemoryStream
  • ToCXML
  • IsEmpty
  • ToMemoryStream
  • ToCurrency
  • ResetTableSeed
  • ConnectedToServerAsync
  • AddWorkingDays
  • IsHoliday
  • TrySplitInPartsOf
  • UnixToDateTime
  • DateTimeToUnix
  • ToJson
  • ToStream
  • WaitForFile
  • GetExtension
  • GetTrueRandom
  • Reverse
  • ToFahrenheit
  • ToCelsius
  • GetCoordinates
  • GetDateTimeFromInternet
  • PrintEventLog :: Testing Required.
  • ToXML
  • Utf8StringWriter

To-Do

  • Create REAL Documentation
  • Split Extention Class As Its Becoming Quite Large.

License

Unless otherwise specified, everything in this repository is covered by the following licence:

License: MIT

View Copyright