Method GetFormattingStringArguments
GetFormattingStringArguments(Object, String, LocationKind, Object[])
Returns an array of arguments that can be passed to the Format(String, Object[]) method
Declaration
public static object[] GetFormattingStringArguments(object value, string locationName, LocationKind locationKind, object[] additionalArguments)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The incorrect value (passed, assigned or returned). |
String | locationName | The name of the declaration being validated (or |
LocationKind | locationKind | The kind of declaration being validated. |
Object[] | additionalArguments | Additional arguments appended to the array of arguments. |
Returns
Type | Description |
---|---|
Object[] | An array of arguments that can be passed to the Format(String, Object[]) method, where the formatting strings can have parameters as described in the remarks of the documentation of the ContractLocalizedTextProvider class. |