/// <summary> /// Constructs a new folder, using the provided version. /// </summary> protected PFolder(PFolderVersion version) { this._attributes = FileAttributes.Normal; this._version = version; }
/// <summary> /// Gets the folder protocol associated with this version. /// </summary> internal static PFolder GetProtocol(PFolderVersion version) { switch (version) { default: case PFolderVersion.Dusseldorf: return new PFolderDusseldorf(); case PFolderVersion.Berlin: return new PFolderBerlin(); } }