public static void Load(IAccessStateResource <State> stateResourceAccess) { if (stateResourceAccess == null) { throw new ArgumentNullException("stateResourceAccess"); } GenericPropertyStateHelper <State, Element, Property> .Load( stateResourceAccess, x => new PropertyState(x)); }
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)); }