Exemplo n.º 1
0
 public FileSystemOptions(string location, StreamEncryptionType encryption, StreamCompressionType compression)
 {
     Location = location;
     Encryption = encryption;
     Compression = compression;
     BlockSize = (int)MathUtil.KB(8);
     MasterBlockSize = (int)MathUtil.KB(32);
     NameLength = 255;
     BlockReferenceSize = 64;
     BlockAllocation = new BlockAllocation();
     IndirectionCountForIndirectNodes = 2;
     RootBlockNr = 0;
 }
Exemplo n.º 2
0
 public NewVFSViewModel()
 {
     OkCommand = new Command(Ok, p => true);
     _compressionType = StreamCompressionType.None;
     _encryptionType = StreamEncryptionType.None;
 }