Beispiel #1
0
        public IsolatedStorage(CustomFile file)
        {
            SetFile(file);

            try
            {
                StorageFile = IsolatedStorageFile.GetUserStoreForDomain();

                StorageFileStream = new IsolatedStorageFileStream(file.NameWithExtension, FileMode.OpenOrCreate, StorageFile);
            }
            catch (Exception ex)
            {
                if (File.LogAction != null)
                {
                    File.LogAction(ex);
                }
            }
        }
Beispiel #2
0
 public Serializer(CustomFile file)
 {
     File = file;
 }
Beispiel #3
0
 public void SetFile(CustomFile file)
 {
     File = file;
 }
Beispiel #4
0
 public Compressor(CustomFile file)
 {
     SetFile(file);
 }