Quix 1.0.30

Suggested Alternatives

GCCHigh.Extensions

dotnet add package Quix --version 1.0.30                
NuGet\Install-Package Quix -Version 1.0.30                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Quix" Version="1.0.30" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Quix --version 1.0.30                
#r "nuget: Quix, 1.0.30"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Quix as a Cake Addin
#addin nuget:?package=Quix&version=1.0.30

// Install Quix as a Cake Tool
#tool nuget:?package=Quix&version=1.0.30                

Quix.dll contains extension methods that enhance existing C# classes thus making life easier for developers.

The following classes have been extended:

  • System.String
  • System.Text.StringBuilder

with these methods:

  • GetUrlRoot()

    Get the URL root for the given string object containing a URL.<br> For example:<br> "https://cjvandyk.sharepoint.com".GetUrlRoot()<br> will return "https://cjvandyk.sharepoint.com" whereas<br> "https://cjvandyk.sharepoint.com/sites/Approval".GetUrlRoot()<br> will also return "https://cjvandyk.sharepoint.com".

  • IsAlphabetic()

    Validates that the given string object contains all alphabetic characters (a-z and A-Z) returning True if it does and False if it doesn't.

  • IsNumeric()

    Validates that the given string object contains all numeric characters (0-9) returning True if it does and False if it doesn't.

  • IsAlphaNumeric()

    Validates that the given string object contains all alphabetic and/or numeric characters (a-z and A-Z and 0-9) returning True if it does and False if it doesn't.

  • IsChar()

    This method takes a char[] as one of its arguments against which the given string object is validated. If the given string object contains only characters found in the char[] it will return True, otherwise it will return False.

  • IsUrlRoot()

    Check if the given string object containing a URL, is that of the URL root only. Returns True if so, False if not. For example:<br> "https://cjvandyk.sharepoint.com".IsUrlRootOnly()<br> will return True whereas<br> "https://cjvandyk.sharepoint.com/sites/Approval".IsUrlRootOnly()<br> will return False.

  • Lines()

    This method returns the number of lines/sentences in the given string object.

  • Words()

    This method returns the number of words used in the given string object.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.30 1,132 1/5/2021 1.0.30 is deprecated because it is no longer maintained.

GetUrlRoot()
                   Get the URL root for the given string object containing a URL.
                   For example:
                     "https://cjvandyk.sharepoint.com/".GetUrlRoot()
                     will return
                     "https://cjvandyk.sharepoint.com/"
                     whereas
                     "https://cjvandyk.sharepoint.com/sites/Approval".GetUrlRoot()
                     will also return
                     "https://cjvandyk.sharepoint.com/".
                 
                 IsAlphabetic()
                   Validates that the given string object contains all alphabetic
                   characters (a-z and A-Z) returning True if it does and False if
                   it doesn't.

                 IsNumeric()
                   Validates that the given string object contains all numeric
                   characters (0-9) returning True if it does and False  if it
                   doesn't.

                 IsAlphaNumeric()
                   Validates that the given string object contains all alphabetic
                   and/or numeric characters (a-z and A-Z and 0-9) returning True if it
                   does and False  if it doesn't.

                 IsChar()
                   This method takes a char[] as one of its arguments against which the
                   given string object is validated.  If the given string object contains
                   only characters found in the char[] it will return True, otherwise it
                   will return False.

                 IsUrlRoot()
                   Check if the given string object containing a URL, is that of the
                   URL root only.  Returns True if so, False if not.  For example:
                     "https://cjvandyk.sharepoint.com/".IsUrlRootOnly()
                     will return True whereas
                     "https://cjvandyk.sharepoint.com/sites/Approval".IsUrlRootOnly()
                     will return False.

                 Lines()
                   This method returns the number of lines/sentences in the given string
                   object.

                 Words()
                   This method returns the number of words used in the given string
                   object.