private static bool?GetBooleanParameterValue(AttributeData attributeData, string name)
 {
     return((bool?)attributeData.FindNamedAttribute(name).Value);
 }
    private static string?GetStringParameterValue(AttributeData attributeData, string name)
    {
        var value = (string?)attributeData.FindNamedAttribute(name).Value;

        return(String.IsNullOrWhiteSpace(value) ? null : value?.Trim());
    }