private void HandleStateCombinationsChanged(StateCombination stateCombination) { if (stateCombination != null) { stateCombination.Index = StateCombinationsInternal.IndexOf(stateCombination); } }
public StateCombination CreateStateCombination() { if (Class == null) { throw new InvalidOperationException( "Cannot create StateCombination if no SecurableClassDefinition is assigned to this StatefulAccessControlList."); } var stateCombination = StateCombination.NewObject(); StateCombinationsInternal.Add(stateCombination); return(stateCombination); }
public static ObjectList<StateUsage> GetStateUsagesForQuery (this StateCombination stateCombination) { throw new NotSupportedException ("GetStateUsages() is only supported for building LiNQ query expressions."); }