/// <summary> /// Ensures that the objects passed in have the system default permissions if the provider is not null /// </summary> /// <param name="o">The objects to assign permissions to</param> public static void TrySetDefaultPermissions <T>(this ISecurityProvider <T> provider, params T[] o) { if (provider != null) { provider.SetDefaultPermissions(o); } }