Exemple #1
0
 public static void Load(IAccessStateResource <State> stateResourceAccess)
 {
     if (stateResourceAccess == null)
     {
         throw new ArgumentNullException("stateResourceAccess");
     }
     GenericPropertyStateHelper <State, Element, Property> .Load(
         stateResourceAccess,
         x => new PropertyState(x));
 }
Exemple #2
0
 public static void Load(IStateResourceAccess <PersistenceState> stateResourceAccess)
 {
     if (stateResourceAccess == null)
     {
         throw new ArgumentNullException(nameof(stateResourceAccess));
     }
     GenericPropertyStateHelper <PersistenceState, PersistenceElement, PersistenceProperty> .Load(
         stateResourceAccess,
         x => new PropertyState(x));
 }