/// <summary> /// Provide access to the internal SR loader object. /// </summary> /// <returns>Instance of the Resources object.</returns> private static Resources GetLoader() { if(loader == null) { lock(InternalSyncObject) { if(loader == null) { loader = new Resources(); } } } return loader; }