Bend.PersistantStorage.PersistantStorage C# (CSharp) Method

PersistantStorage() static private method

static private PersistantStorage ( ) : System
return System
        static PersistantStorage()
        {
            try
            {
                XmlSerializer serializer = new XmlSerializer(typeof(PersistantStorage));
                String filePath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\";
                FileStream fs = new FileStream(filePath + settingsFileName, FileMode.Open);
                singletonPersistantStorageObject = (PersistantStorage)serializer.Deserialize(fs);
            }
            catch
            {
                singletonPersistantStorageObject = new PersistantStorage();
            }
        }
PersistantStorage