AttributeHelper public static class AttributeHelper Provides a platform-independent methods for getting attributes for use by AttributeConstraint and AttributeExistsConstraint. Documentation public static Attribute[] GetCustomAttributes(object actual, Type attributeType, bool inherit) Gets the custom attributes from the given object.