示例#1
0
		public File (File.IFileAbstraction abstraction,
		             ReadStyle propertiesStyle) : base (abstraction)
		{
			Mode = AccessMode.Read;
			try {
				tag = new GroupedComment ();
				Read (propertiesStyle);
				TagTypesOnDisk = TagTypes;
			} finally {
				Mode = AccessMode.Closed;
			}
		}
示例#2
0
 public File(File.IFileAbstraction abstraction,
             ReadStyle propertiesStyle) : base(abstraction)
 {
     Mode = AccessMode.Read;
     try {
         tag = new GroupedComment();
         Read(propertiesStyle);
         TagTypesOnDisk = TagTypes;
     } finally {
         Mode = AccessMode.Closed;
     }
 }