Пример #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;
     }
 }