Пример #1
0
 private void HandleStateCombinationsChanged(StateCombination stateCombination)
 {
     if (stateCombination != null)
     {
         stateCombination.Index = StateCombinationsInternal.IndexOf(stateCombination);
     }
 }
Пример #2
0
        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);
        }
Пример #3
0
 public static ObjectList<StateUsage> GetStateUsagesForQuery (this StateCombination stateCombination)
 {
   throw new NotSupportedException ("GetStateUsages() is only supported for building LiNQ query expressions.");
 }