public static void RemoveAttribute <TAttribute>(this IAttributable attributable, TAttribute attribute) where TAttribute : class, IPropertyAttribute { if (null == attributable) { return; } UTinyPropertyMetaData <IAttributable> .UnregisterAttribute(attributable, attribute); }
public static void RemoveAttribute <TAttribute>(this IProperty property, TAttribute attribute) where TAttribute : class, IPropertyAttribute { if (null == property) { return; } UTinyPropertyMetaData <IProperty> .UnregisterAttribute(property, attribute); }