protected override PSDriveInfo NewDrive(PSDriveInfo drive) { var c8drive = new C8DriveInfo(drive); return c8drive; }
protected override Collection<PSDriveInfo> InitializeDefaultDrives() { C8DriveInfo newC8DriveInfo; try { newC8DriveInfo = new C8DriveInfo("C8Local", this.ProviderInfo, "ccl://localhost:6789", "", null); } catch (Exception) { return null; } Collection<PSDriveInfo> drives = new Collection<PSDriveInfo>() { newC8DriveInfo }; return drives; }