public override DataSet Clone() { DSStartupResources cln = ((DSStartupResources)(base.Clone())); cln.InitVars(); return(cln); }
/// <summary> /// Initiates the CCache /// </summary> internal Cache() { //myInterface = callerInterface; // Init cache from embedded file _startup = new DSStartupResources(); _startup.ReadXml( CEmbeddedResources.GetEmbeddedXmlFile( "Allberg.Shooter.Common.DSStartupResources.xml")); // init cache from local file _localCacheFilename = CreateLocalFilename(); _localCache = new DSLocalCache(); if (File.Exists(_localCacheFilename)) { _localCache.ReadXml(_localCacheFilename); } }