Skip to content

HandlebarsHelpers

Namespace: DataWarehouseAutomation.Utils
Assembly: DataWarehouseAutomation.dll

public static class HandlebarsHelpers

objectHandlebarsHelpers

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Generate a random date (no time component), higher than the input year number (four-digit integer).

public static DateTime GetRandomDate(int startYear = 1995)

startYear int

DateTime

Generate a random integer value, capped by an input (maximum) value.

public static int GetRandomNumber(int maxNumber)

maxNumber int

int

Exception

Convenience method to install all Handlebars extension in one go.

public static void RegisterHandlebarsHelpers()

HandlebarsException