public void ApplyRestriction(IDataRestriction <T> restriction) { restriction.Apply(this); if (!CanView && DenyingRestriction == null) { DenyingRestriction = restriction; } }
public void ApplyRestriction(IDataRestriction <T> restriction) { restriction.Apply(this); if (!CanView && DenyingRestriction == null) { DenyingRestriction = restriction; } }