Beispiel #1
0
 /// <summary>
 /// Constructs a new folder, using the provided version.
 /// </summary>
 protected PFolder(PFolderVersion version)
 {
     this._attributes = FileAttributes.Normal;
     this._version = version;
 }
Beispiel #2
0
 /// <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();
     }
 }