Cinchoo – String.Evaluate(), Extension Method
In this section, I’ll talk about Evaluate extension method. This method used to evaluate a mathematical expression string and returns final output as object. Please see the below samples on how to use...
View ArticleCinchoo – String.ExpandProperties(), Extension Method
In this section, I’ll talk about ExpandProperties extension method. This method used to find and replace any system / user defined properties found in a string. Properties are string begins and ends in...
View ArticleCinchoo – String.ExpandProperties(), Part 2
Here I’ll show you how you can mix expressions and properties together and resolving the input string. ExpandProperties will do the expression evaluation along with property replacement in a string....
View ArticleCinchoo – String.Indent(), Extension Method
In this section, I’ll talk about Indent extension method. This method used to indent a string with the padding characters. Please see the below samples on how to use it. 1. Add reference to...
View ArticleCinchoo – String.ToEnum(), Extension Method
In this section, I’ll talk about ToEnum<T> extension method. This method used get enum value from enum description. 1. Add reference to Cinchoo.Core.ExtensionMethods.dll assembly 2. Namespace...
View ArticleCinchoo – Enum.ToDescription(), Extension Method
In this section, I’ll talk about ToDescription<T> extension method. This method used get enum description from enum value. 1. Add reference to Cinchoo.Core.ExtensionMethods.dll assembly 2....
View ArticleCinchoo – String.Unindent(), Extension Method
In this section, I’ll talk about Unindent extension method. This method used to find and remove the padding characters from input text. Please see the below samples on how to use it. 1. Add reference...
View ArticleCinchoo – String.Evaluate(), Part 2
Using system library routines In some cases, you may want to use system library routines while evaluating expression. Library routines are specified with ~ delimiter. When specifying library routine,...
View ArticleCinchoo – String.Evaluate(), Part 3
Using custom library routines You may ask, how to use my own custom routines while evaluating expressions? Here I’m will show you how. All you need to do is to write the routine, reference it to the...
View ArticleCinchoo – Delegate.WaitFor(), Extension Method
Here I’ll talk about WaitFor extension method. This extension method used to run a method with finite number of retries if it failed to run at first time and/or in a finite time frame. It provides most...
View Article