/// <summary> /// Initializes a new instance of a VariableFoundEventArgs. /// </summary> /// <param name="key">The key that was found.</param> /// <param name="alignment">The alignment that will be applied to the substitute value.</param> /// <param name="formatting">The formatting that will be applied to the substitute value.</param> /// <param name="context">The context where the placeholder was found.</param> internal VariableFoundEventArgs(string name, string alignment, string formatting, Context[] context) { Name = name; Alignment = alignment; Formatting = formatting; Context = context; }
/// <summary> /// Initializes a new instance of a PlaceholderFoundEventArgs. /// </summary> /// <param name="key">The key that was found.</param> /// <param name="alignment">The alignment that will be applied to the substitute value.</param> /// <param name="formatting">The formatting that will be applied to the substitute value.</param> /// <param name="context">The context where the placeholder was found.</param> internal PlaceholderFoundEventArgs(string key, string alignment, string formatting, Context[] context) { Key = key; Alignment = alignment; Formatting = formatting; Context = context; }
/// <summary> /// Initializes a new instance of a VariableFoundEventArgs. /// </summary> /// <param name="key">The key that was found.</param> /// <param name="alignment">The alignment that will be applied to the substitute value.</param> /// <param name="formatting">The formatting that will be applied to the substitute value.</param> /// <param name="isExtension">Specifies whether the variable was found within triple curly braces.</param> /// <param name="context">The context where the placeholder was found.</param> internal VariableFoundEventArgs(string name, string alignment, string formatting, bool isExtension, Context[] context) { Name = name; Alignment = alignment; Formatting = formatting; IsExtension = isExtension; Context = context; }