Quix 1.0.30

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

Install-Package Quix -Version 1.0.30
dotnet add package Quix --version 1.0.30
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Quix, 1.0.30"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

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.

Release Notes

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.

Dependencies

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 History

Version Downloads Last updated
1.0.30 97 1/5/2021