42 lines
700 B
C#
42 lines
700 B
C#
|
|
using System.IO.Packaging;
|
|||
|
|
|
|||
|
|
namespace RevitLess
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public abstract class StorageStreamBase : StorageBase
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
#region Constructors
|
|||
|
|
|
|||
|
|
public StorageStreamBase(string fileName, StorageInfo storage)
|
|||
|
|
: base(fileName)
|
|||
|
|
{
|
|||
|
|
FileName = fileName;
|
|||
|
|
Storage = storage;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Protected Methods
|
|||
|
|
|
|||
|
|
///// <summary>
|
|||
|
|
///// Abstract method that must be overriden for each type of
|
|||
|
|
///// structured storage we will read.
|
|||
|
|
///// </summary>
|
|||
|
|
///// <param name="fileName">The file name we want to read.</param>
|
|||
|
|
//internal abstract void ReadStructuredStorageFile();
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Public Properties
|
|||
|
|
|
|||
|
|
public StorageInfo Storage { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|