public async Task <IFrameExState> GetFrameStateAsync(string frameId)
        {
            var folder = await GetFrameRootAsync(frameId);

            var store = PropertyBagFactory.Create(folder);

            return(new FrameExState(store));
        }
 /// <summary>
 /// Dispose of the factory class etc.
 /// </summary>
 public void Dispose()
 {
     Factory = null; // Kill the reference
 }
        public PropertyBagFactory Factory; // The property bag factory to test

        /// <summary>
        /// Configure the test fixture
        /// </summary>
        public PropertyBagFactoryTestsFixture()
        {
            Factory = new PropertyBagFactory();
        }
        public async Task <IPropertyBagEx> GetPageStateAsync(string frameId, string pageId)
        {
            var folder = await GetPageRootAsync(frameId, pageId);

            return(PropertyBagFactory.Create(folder));
        }