private static void Work(CacheNode node,string rootResName) { node.QueryResourceByNode(rootResName); node.GetAllQueriedResource(); node.GetResource(); node.PostResourceFromMemory(); node.QueryResourceByNodeAndOtherResource(); node.GetAllQueriedResource(); for (int i = 0; i < 20;i++ ) node.PostResourceFromMemory(node.Name); node.QueryResourceByOtherResource(); node.QueryResourceByOtherResource(); node.QueryResourceByOtherResource(); node.GetAllQueriedResource(); node.PostResourceFromScratch(); node.GetResource(); node.ClearMemory(300); }
private static void Work(CacheNode node, string rootResName) { node.QueryResourceByNode(rootResName); node.GetAllQueriedResource(); node.GetResource(); node.PostResourceFromMemory(); node.QueryResourceByNodeAndOtherResource(); node.GetAllQueriedResource(); for (int i = 0; i < 20; i++) { node.PostResourceFromMemory(node.Name); } node.QueryResourceByOtherResource(); node.QueryResourceByOtherResource(); node.QueryResourceByOtherResource(); node.GetAllQueriedResource(); node.PostResourceFromScratch(); node.GetResource(); node.ClearMemory(300); }