protected override Collection <PSDriveInfo> InitializeDefaultDrives()
        {
            var defDrives = new Collection <PSDriveInfo>();
            var drive     = new TestContainerDrive(new PSDriveInfo(DefaultDriveName, ProviderInfo, DefaultDriveRoot,
                                                                   "Default drive for testing container items", null));

            drive.Items[DefaultItemName] = DefaultItemValue;

            defDrives.Add(drive);
            return(defDrives);
        }
Beispiel #2
0
        protected override Collection<PSDriveInfo> InitializeDefaultDrives()
        {
            var defDrives = new Collection<PSDriveInfo>();
            var drive = new TestContainerDrive(new PSDriveInfo(DefaultDriveName, ProviderInfo, DefaultDriveRoot,
                "Default drive for testing container items", null));

            drive.Items[DefaultItemName] = DefaultItemValue;

            defDrives.Add(drive);
            return defDrives;
        }