Пример #1
0
 /// <summary>
 /// Creates a deep copy of the passed object.
 /// </summary>
 /// <param name="old">A <b>File Group</b> object to create the deep copy from.</param>
 private void CopyMembers(FileGroup old)
 {
     this.fileGroupType  = old.fileGroupType;
     this.layoutType     = old.layoutType;
     this.allocationType = old.allocationType;
     this.diskVolumeType = old.diskVolumeType;
     this.fileGroupName  = old.fileGroupName;
     this.allocatedSpace = old.allocatedSpace;
     this.fileCount      = old.fileCount;
 }
Пример #2
0
 /// <summary>
 /// Initializes member variables to their initial values.
 /// </summary>
 /// <remarks>
 /// This function is called by the contructors.
 /// </remarks>
 private void InitializeMembers()
 {
     this.FileGroupType  = FileGroupType.Unknown;
     this.layoutType     = FileGroupLayoutType.Unknown;
     this.allocationType = FileGroupAllocationType.CrossVolume;
     this.diskVolumeType = DiskVolumeType.Data;
     this.fileGroupName  = string.Empty;
     this.allocatedSpace = 0;
     this.fileCount      = 0;
 }
Пример #3
0
 /// <summary>
 /// Initializes member variables to their initial values.
 /// </summary>
 /// <remarks>
 /// This function is called by the contructors.
 /// </remarks>
 private void InitializeMembers()
 {
     this.FileGroupType = FileGroupType.Unknown;
     this.layoutType = FileGroupLayoutType.Unknown;
     this.allocationType = FileGroupAllocationType.CrossVolume;
     this.diskVolumeType = DiskVolumeType.Data;
     this.fileGroupName = string.Empty;
     this.allocatedSpace = 0;
     this.fileCount = 0;
 }
Пример #4
0
 /// <summary>
 /// Creates a deep copy of the passed object.
 /// </summary>
 /// <param name="old">A <b>File Group</b> object to create the deep copy from.</param>
 private void CopyMembers(FileGroup old)
 {
     this.fileGroupType = old.fileGroupType;
     this.layoutType = old.layoutType;
     this.allocationType = old.allocationType;
     this.diskVolumeType = old.diskVolumeType;
     this.fileGroupName = old.fileGroupName;
     this.allocatedSpace = old.allocatedSpace;
     this.fileCount = old.fileCount;
 }