internal RootObject WithState(RootObjectState newState) { if (object.ReferenceEquals(newState, objectState)) { return(this); } return(new RootObject(newState, children)); }
public DatabaseState Without(RootObjectState removeObject) { return(Without(Helpers.EnumerableFrom(removeObject), null)); }
public DatabaseState With(RootObjectState newObject) { return(With(Helpers.EnumerableFrom(newObject), null)); }
public RootObjectState <TType, TState> Get <TType, TState>(RootObjectState <TType, TState> root) where TType : RootObjectType <TType, TState>, new() { return((RootObjectState <TType, TState>)GetRoot(root.Identifier)); }
public bool Contains(RootObjectState state) { return(ContainsRoot(state.Identifier)); }
internal RootObject(RootObjectState objectState, ObjectSet <SubObjectState> children) { this.objectState = objectState; this.children = children; }