Quix 1.0.30
dotnet add package Quix --version 1.0.30
NuGet\Install-Package Quix -Version 1.0.30
<PackageReference Include="Quix" Version="1.0.30" />
paket add Quix --version 1.0.30
#r "nuget: Quix, 1.0.30"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
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,134 | 1/5/2021 |
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.