HandlebarsHelpers
Class HandlebarsHelpers
Section titled “ Class HandlebarsHelpers”Namespace: DataWarehouseAutomation.Utils
Assembly: DataWarehouseAutomation.dll
public static class HandlebarsHelpers
Inheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”GetRandomDate(int)
Section titled “ GetRandomDate(int)”Generate a random date (no time component), higher than the input year number (four-digit integer).
public static DateTime GetRandomDate(int startYear = 1995)
Parameters
Section titled “Parameters”startYear
int
Returns
Section titled “Returns”GetRandomNumber(int)
Section titled “ GetRandomNumber(int)”Generate a random integer value, capped by an input (maximum) value.
public static int GetRandomNumber(int maxNumber)
Parameters
Section titled “Parameters”maxNumber
int
Returns
Section titled “Returns”Exceptions
Section titled “Exceptions”RegisterHandlebarsHelpers()
Section titled “ RegisterHandlebarsHelpers()”Convenience method to install all Handlebars extension in one go.
public static void RegisterHandlebarsHelpers()
Exceptions
Section titled “Exceptions”HandlebarsException