Example #1
0
 public override void GetBlock(BlockArguments args)
 {
     if (args.IsWriting && m_file.m_isReadOnly)
     {
         throw new ReadOnlyException("File system is read only");
     }
     args.SupportsWriting = !m_file.m_isReadOnly;
     m_file.GetBlock(args);
 }