text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```powershell
Describe "[$($Lab.Name)] TfsBuildWorker" -Tag TfsBuildWorker {
Context "Role deployment successful" {
It "[TfsBuildWorker] Should return the correct amount of machines" {
(Get-LabVM -Role TfsBuildWorker).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'TfsBu... | /content/code_sandbox/AutomatedLabTest/tests/TfsBuildWorker.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 346 |
```powershell
Describe "[$($Lab.Name)] AzDevOps" -Tag AzDevOps {
Context "Role deployment successful" {
It "[AzDevOps] Should return the correct amount of machines" {
(Get-LabVm -Role AzDevOps).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'AzDevOps'}).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/AzDevOps.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 215 |
```powershell
Describe "[$($Lab.Name)] ScomWebConsole" -Tag ScomWebConsole {
Context "Role deployment successful" {
It "[ScomWebConsole] Should return the correct amount of machines" {
(Get-LabVm -Role ScomWebConsole).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains ... | /content/code_sandbox/AutomatedLabTest/tests/ScomWebConsole.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 208 |
```powershell
Describe "[$($Lab.Name)] CaRoot" -Tag CaRoot {
Context "Role deployment successful" {
It "[CaRoot] Should return the correct amount of machines" {
(Get-LabVm -Role CaRoot).Count | Should -Be $(Get-Lab).Machines.Where({ $_.Roles.Name -contains 'CaRoot' }).Count
}
fo... | /content/code_sandbox/AutomatedLabTest/tests/CaRoot.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 273 |
```powershell
Describe "[$($Lab.Name)] SQLServer2012" -Tag SQLServer2012 {
Context "Role deployment successful" {
It "[SQLServer2012] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2012).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2012'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2012.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
Describe "[$($Lab.Name)] SQLServer2019" -Tag SQLServer2019 {
Context "Role deployment successful" {
It "[SQLServer2019] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2019).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2019'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2019.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
function New-LabPesterTest
{
[CmdletBinding()]
param
(
[Parameter(Mandatory)]
[string[]]
$Role,
[Parameter(Mandatory)]
[string]
$Path,
[Parameter()]
[switch]
$IsCustomRole
)
foreach ($r in $Role)
{
$... | /content/code_sandbox/AutomatedLabTest/functions/New-LabPesterTest.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 315 |
```powershell
function Import-LabTestResult
{
[CmdletBinding(DefaultParameterSetName = 'Path')]
param(
[Parameter(ParameterSetName = 'Single')]
[string[]]$Path,
[Parameter(ParameterSetName = 'Path')]
[string]$LogDirectory = [System.Environment]::GetFolderPath('MyDocuments')
... | /content/code_sandbox/AutomatedLabTest/functions/Import-LabTestResult.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 262 |
```powershell
function Invoke-LabPester
{
[CmdletBinding(DefaultParameterSetName = 'ByLab')]
param
(
[Parameter(Mandatory, ParameterSetName = 'ByLab', ValueFromPipeline)]
[AutomatedLab.Lab]
$Lab,
[Parameter(Mandatory, ParameterSetName = 'ByName', ValueFromPipeline)]
... | /content/code_sandbox/AutomatedLabTest/functions/Invoke-LabPester.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 453 |
```powershell
function Test-LabDeployment
{
[CmdletBinding()]
param(
[Parameter(ParameterSetName = 'Path')]
[string[]]$Path,
[Parameter(ParameterSetName = 'All')]
[string]$SampleScriptsPath,
[Parameter(ParameterSetName = 'All')]
[string]$Filter,
[Param... | /content/code_sandbox/AutomatedLabTest/functions/Test-LabDeployment.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 498 |
```xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
<Name>AutomatedLab.TestResult</Name>
<ViewSelectedBy>
<TypeName>AutomatedLab.TestResult</TypeName>
</ViewSelectedBy>
<TableControl>
<AutoSize />
<TableHeaders>
<TableC... | /content/code_sandbox/AutomatedLabTest/xml/AutomatedLabTest.format.ps1xml | xml | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 341 |
```powershell
function Invoke-LabScript
{
[CmdletBinding()]
param (
[Parameter(Mandatory)]
[string]$Path,
[hashtable]$Replace
)
$result = New-Object PSObject -Property ([ordered]@{
ScriptName = Split-Path -Path $Path -Leaf
Completed = $false
... | /content/code_sandbox/AutomatedLabTest/internal/functions/Invoke-LabScript.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 424 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace LabXml
{
public static class PowerShellHelper
{
static Runspace runspace = null;
static PowerShell ps = null;
static PowerShellHe... | /content/code_sandbox/LabXml/PowerShellHelper.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 306 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<AssemblyName>AutomatedLab</AssemblyName>
<RootNamespace>AutomatedLab</RootNamespace>
<Version>1.0.0</Version>
<FileVersion>1.0.0</FileVersion>
<Authors>Raimund Andree, Per Pedersen, Ja... | /content/code_sandbox/LabXml/LabXml.csproj | xml | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 334 |
```smalltalk
using System;
namespace AutomatedLab
{
[Obsolete("No longer used in V2. Member still defined due to compatibility.")]
public enum MachineTypes
{
Unknown = 0,
Server = 1,
Client = 2
}
public enum PartitionStyle
{
MBR,
GPT
}
public en... | /content/code_sandbox/LabXml/Enums.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,154 |
```smalltalk
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
namespace AutomatedLab
{
public class DynamicVariable : PSVariable
{
public DynamicVariable(
string name,
ScriptBlock scriptGetter,
ScriptBlock scriptSetter)
... | /content/code_sandbox/LabXml/DynamicVariable.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 225 |
```smalltalk
using System;
namespace AutomatedLab
{
[Serializable]
public class LocalDisk
{
private char driveLetter;
private string serial;
private UInt32 signature;
private double readSpeed;
private double writeSpeed;
public char DriveLetter
{
... | /content/code_sandbox/LabXml/Disks/LocalDisk.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 441 |
```smalltalk
namespace AutomatedLab
{
public class Disk
{
public bool SkipInitialization { get; set; }
public string Path { get; set; }
public string Name { get; set; }
public int DiskSize { get; set; }
public long AllocationUnitSize { get; set; }
pub... | /content/code_sandbox/LabXml/Disks/Disk.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 179 |
```smalltalk
using System;
using System.Runtime.InteropServices;
namespace AutomatedLab
{
public class DiskSpaceWin32
{
[DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetDiskFreeSpaceEx(string lpDire... | /content/code_sandbox/LabXml/Disks/DiskSpaceWin32.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 92 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab
{
[Serializable]
public class IsoImage
{
private string name;
private string path;
private long size;
private MachineTypes? imageType;
private string referenceDisk;
private Li... | /content/code_sandbox/LabXml/Disks/ISO.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 362 |
```smalltalk
using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.DataContracts;
using System.Linq;
using System.Diagnostics;
using Microsoft.ApplicationIns... | /content/code_sandbox/LabXml/Telemetry/LabTelemetry.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,917 |
```smalltalk
/// <summary>
/// Serializable version of the System.Version class.
/// </summary>
using System;
using System.Globalization;
namespace AutomatedLab
{
[Serializable]
public class Version : ICloneable, IComparable
{
private int major;
private int minor;
private int build;... | /content/code_sandbox/LabXml/Machines/Version.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,086 |
```smalltalk
using System;
using System.Linq;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Role
{
private Roles name;
private SerializableDictionary<string, string> properties;
[XmlAttribute]
public Roles Name
{
ge... | /content/code_sandbox/LabXml/Machines/Role.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 232 |
```smalltalk
using System;
namespace AutomatedLab
{
/// <summary>
/// Lowest common denominator of Azure and HyperV snapshots
/// </summary>
[Serializable]
public class Snapshot
{
/// <summary>
/// The name of the snapshot.
/// </summary>
public string SnapshotNa... | /content/code_sandbox/LabXml/Machines/Snapshot.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 299 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace AutomatedLab.Machines
{
[Serializable]
[XmlRoot(ElementName = "configuration")]
public class MachineVmConnectConfig : XmlStore<MachineVmConnectConfig>
{
[XmlArray("Microsoft.Virtualization.Cli... | /content/code_sandbox/LabXml/Machines/MachineVmConnectConfig.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 190 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Management.Automation;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class InstallationActivity
{
private Path dependencyFolder;
private string scriptFileName;
private string s... | /content/code_sandbox/LabXml/Machines/InstallationActivity.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 478 |
```smalltalk
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Linq;
using LabXml;
namespace AutomatedLab
{
[Serializable]
public class OperatingSystem
{
private string operatingSystemName;
private string operatingSystemImageName;
private s... | /content/code_sandbox/LabXml/Machines/OperatingSystem.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,879 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class ProductKey
{
[XmlAttribute]
public string OperatingSystemName { get; set; }
... | /content/code_sandbox/LabXml/Machines/ProductKey.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 105 |
```smalltalk
namespace AutomatedLab
{
public enum FeatureState
{
Installed,
Available,
Removed
}
public class WindowsFeature
{
public string Name { get; set; }
public string ComputerName { get; set; }
public string FeatureName
{
... | /content/code_sandbox/LabXml/Machines/WindowsFeature.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 94 |
```smalltalk
using System;
using System.Management.Automation;
namespace AutomatedLab
{
[Serializable]
public class SoftwarePackage
{
private string path;
private string commandLine;
private string processName;
private int timeout;
private ScriptBlock customProgressC... | /content/code_sandbox/LabXml/Machines/SoftwarePackage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 242 |
```smalltalk
using System;
using System.Management.Automation;
using System.Security;
namespace AutomatedLab
{
[Serializable]
public class User
{
private string userName;
private string password;
public string UserName
{
get { return userName; }
set ... | /content/code_sandbox/LabXml/Machines/User.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 161 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Security;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Machine
{
private string name;
private lo... | /content/code_sandbox/LabXml/Machines/Machine.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 2,598 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
//public class AzureAccount : CopiedObject<AzureAccount>
//{
// public string Id { get; set; }
// public SerializableDictionary<int, string> Properties { get; set; }
// public int Type { get; set; }
// pu... | /content/code_sandbox/LabXml/Azure/AzureAccount.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 106 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureSubscription : CopiedObject<AzureSubscription>
{
public string Id { get; set; }
public string Name { get; set; }
public string State { get; set; }
public string TenantId { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureSubscription.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 149 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureAvailabilitySet : CopiedObject<AzureAvailabilitySet>
{
public string Id { get; set; }
public string Location { get; set; }
public string Name { get; set; }
public int? PlatformFaultDo... | /content/code_sandbox/LabXml/Azure/AzureAvailabilitySet.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 126 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum StatusOptions
{
Ready,
Pending
}
[Serializable]
public class AzureRmServerFarmWithRichSku : CopiedObject<AzureRmServerFarmWithRichSku>
{
public string AdminSiteName { get; set; }
public string... | /content/code_sandbox/LabXml/Azure/AzureRmServerFarmWithRichSku.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 370 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab
{
[Serializable]
public class NetworkAdapter
{
private VirtualNetwork virtualSwitch;
private string interfaceName;
private string macAddress;
private List<IPNetwork> ipv4Address;
priv... | /content/code_sandbox/LabXml/Machines/NetworkAdapter.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 898 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureConnectionInfo
{
public string ComputerName { get; set; }
public string DnsName { get; set; }
public string HttpsName { get; set; }
public string VIP { get; set; }
public int P... | /content/code_sandbox/LabXml/Azure/AzureConnectionInfo.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 128 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmVmSize : CopiedObject<AzureRmVmSize>
{
public int NumberOfCores { get; set; }
public int MemoryInMB { get; set; }
public string Name { get; set; }
p... | /content/code_sandbox/LabXml/Azure/AzureRmVmSize.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 168 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmResourceGroup : CopiedObject<AzureRmResourceGroup>
{
public string Location { get; set; }
public string ResourceGroupName { get; set; }
public string ProvisioningState { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureRmResourceGroup.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 134 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRm
{
public List<AzureRmService> Services { get; set; }
public List<AzureRmServerFarmWithRichSku> ServicePlans { get; set; }
public AzureRm()
{
... | /content/code_sandbox/LabXml/Azure/AzureRm.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 109 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
public enum UsageState
{
Normal,
Exceeded
}
public enum SiteAvailabilityState
{
Normal,
Limited,
DisasterRecoveryMode
}
[Serializable]
public class Publi... | /content/code_sandbox/LabXml/Azure/AzureRmService.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 863 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
public class AzureVirtualMachine : CopiedObject<AzureVirtualMachine>
{
public string AvailabilitySetName { get; set; }
public string DeploymentName { get; set; }
public string DNSName { get; set; }
//M... | /content/code_sandbox/LabXml/Azure/AzureVirtualMachine.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 427 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace AutomatedLab.Azure
{
[AttributeUsage(AttributeTargets.Property)]
public class CustomProperty : Attribute
{
//
// Summary:
// Indicates that a pro... | /content/code_sandbox/LabXml/Azure/CopiedObject.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,112 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmSkuDescription : CopiedObject<AzureRmSkuDescription>
{
public int? Capacity { get; set; }
public string Family { get; set; }
public string Name { get; set; }
public string Size { get... | /content/code_sandbox/LabXml/Azure/AzureRmSkuDescription.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 117 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureLocation : CopiedObject<AzureLocation>
{
public string Location { get; set; }
public string DisplayName { get; set; }
public List<string> Providers { get; set... | /content/code_sandbox/LabXml/Azure/AzureLocation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 91 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum SslState
{
Disabled = 0,
SniEnabled = 1,
IpBasedEnabled = 2
}
[Serializable]
public class AzureRmHostNameSslState : CopiedObject<AzureRmHostNameSslState>
{
public string Name { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureRmHostNameSslState.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 162 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum ProvisioningState
{
Creating,
ResolvingDNS,
Succeeded
}
public enum AccountStatus
{
Available,
Unavailable
}
public enum AccessTier
{
Hot,
Cool
}
publ... | /content/code_sandbox/LabXml/Azure/AzureRmStorageAccount.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 302 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Path
{
[XmlAttribute("Path")]
public string Value { get; set; }
public static implicit operator String(Path path)
{
return path.Value;
}
... | /content/code_sandbox/LabXml/Lab/Path.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 153 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Domain
{
private string name;
[XmlAttribute]
public string Name
{
get { return name; }
set { name = value; }
}
private Us... | /content/code_sandbox/LabXml/Lab/Domain.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 178 |
```smalltalk
using System;
using System.Collections.Generic;
using AutomatedLab.Azure;
namespace AutomatedLab
{
[Serializable]
public class AzureSettings
{
private List<AzureSubscription> subscriptions;
private AzureSubscription defaultSubscription;
private string azureRmProfilePath... | /content/code_sandbox/LabXml/Lab/AzureConfiguration.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,101 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class VMWareConfiguration
{
private string dataCenterName;
private string dataStoreName;
private string resourcePoolName;
private string clusterName;
private str... | /content/code_sandbox/LabXml/Lab/VMWareConfiguration.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 426 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureOSImage : CopiedObject<AzureOSImage>
{
public string Id { get; set; }
public string Location { get; set; }
public string Offer { get; set; }
public string PublisherName { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureOSImage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 4,163 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[Serializable]
public class Sources
{
private List<IsoImage> isos;
private Path unattendedXml;
public List<IsoImage> ISOs
{
g... | /content/code_sandbox/LabXml/Lab/Lab.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,441 |
```smalltalk
using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Win32;
namespace AutomatedLab
{
[Serializable]
public class XmlStore<T> : ICloneable where T : class
{
public void ExportToRegistry(string keyName, string valueName)
{
var serializer = ne... | /content/code_sandbox/LabXml/Stores/XmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 705 |
```smalltalk
using System;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class ListXmlStore<T> : SerializableList<T>
{
public byte[] Export()
{
var serializer = new XmlSerializer(typeof(ListXmlStore<T>));
... | /content/code_sandbox/LabXml/Stores/ListXmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 886 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[XmlRoot("List", Namespace = "")]
public class SerializableList<T>
: List<T>, IXmlSerializable
{
List<string> builtinProperties = new List<string>() { "Ca... | /content/code_sandbox/LabXml/Stores/SerializableList.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 512 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[XmlRoot("dictionary")]
public class SerializableDictionary<TKey, TValue>
: Dictionary<TKey, TValue>, IXmlSerializable
{
List<st... | /content/code_sandbox/LabXml/Stores/SerializableDictionary.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 831 |
```smalltalk
using System;
using System.Collections;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class DictionaryXmlStore<TKey, TValue> : SerializableDictionary<TKey, TValue>
{
public DictionaryXmlStore()
{ }
pu... | /content/code_sandbox/LabXml/Stores/DictionaryXmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 845 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
namespace AutomatedLab
{
static class Extensions
{
public delegate TOut Action2<TIn, TOut>(TIn element);
public static IEnumerable<TOut> ForEach<TIn, TOut>(this IEnumerable<TIn> source, Actio... | /content/code_sandbox/LabXml/Extensions/Extensions.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 441 |
```smalltalk
using AutomatedLab;
using LabXml;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
public class ValidatorBase : IValidate
{
protected ValidationMessageContainer messageContainer;
protected static Hashtable validat... | /content/code_sandbox/LabXml/Validator/ValidatorBase.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 355 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace AutomatedLab
{
public class XmlValidator : ValidatorBase
{
protected List<XmlDocument> docs = new List<XmlDocument>();
public XmlValidator(string xmlPath, bool loadAdditionalXmlFiles = true)
{... | /content/code_sandbox/LabXml/Validator/XmlValidator.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 211 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace AutomatedLab
{
public class LabValidator : ValidatorBase, IValidate
{
private List<XmlDocument> docs = new List<XmlDocument>();
protected ... | /content/code_sandbox/LabXml/Validator/LabValidator.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 255 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace AutomatedLab
{
public class ValidationMessage
{
public MessageType Type { get; set; }
public string Message { get; set; }
public string ValueName ... | /content/code_sandbox/LabXml/Validator/ValidationMessage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 802 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class RoutingRoleNotSupportedOnAzure : Lab... | /content/code_sandbox/LabXml/Validator/Routing/RoutingRoleNotSupportedOnAzure.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 207 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class RoutingMachineHasAtLeastTwoNetworkCa... | /content/code_sandbox/LabXml/Validator/Routing/RoutingMachineHasAtLeastTwoNetworkCards.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 226 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Report all disks that are assigned more than once.
/// </summary>
public class DiskAssignedMultipleTimes : LabValidator, IValidate
{
public DiskAssignedMultipleTimes()
{
... | /content/code_sandbox/LabXml/Validator/Disks/DiskAssignedMultipleTimes.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 175 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if a machine's name is longer than 15 characters.
/// </summary>
public class DomainWithTooLongName : LabValidator, IValidate
{
public DomainWithTooLo... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DomainWithTooLongName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 169 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator check if there is only one RootDC / FirstChildDC per domain defined.
/// </summary>
public class DuplicateDomainRoles :... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DuplicateDomainRoles.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 407 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Print one error for each machine that is in an undefined domain
/// </summary>
public class MachineInAnUndefinedDomain : LabValidator,... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/MachineInAnUndefinedDomain.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 191 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// The local admin's passwords must match the domain admin's credentials on a machine promoted to a RootDC of FirstChildDC
/// </summary>
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/InvalidDomainCredentials.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 383 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Reports all defined domains which do not have any member machine
/// </summary>
public class EmptyDomains : LabValidator, IValidate
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/EmptyDomains.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 190 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all defined domains.
/// </summary>
public class DomainInformation : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DomainInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Print one error for each machine that is in an undefined domain
/// </summary>
public class DoaminHasNoRootOrFirstChildDC : LabValidat... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DoaminHasNoRootOrFirstChildDC.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 273 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, som... | /content/code_sandbox/LabXml/Validator/HyperV/HyperVWrongRoleSize.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 424 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class HyperVWrongOs : LabValidat... | /content/code_sandbox/LabXml/Validator/HyperV/HyperVWrongOs.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 222 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all defined machines.
/// </summary>
public class MachineInformation : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Machines/MachineInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all roles defined in the lab.
/// </summary>
public class MachineRoleInformation : LabValid... | /content/code_sandbox/LabXml/Validator/Machines/MachineRoleInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 198 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if a machine's name is longer than 15 characters.
/// </summary>
public class MachineWithTooLongName : LabValidator, IValidate
{
public MachineWithToo... | /content/code_sandbox/LabXml/Validator/Machines/MachineWithTooLongName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 165 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if no machine is defined in the lab.
/// </summary>
public class NoMachinesDefined : LabValidator, IValidate
{
public NoMachinesDefined()
{
messageCo... | /content/code_sandbox/LabXml/Validator/Machines/NoMachinesDefined.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class DuplicateMachineNames : LabValidator, IValidate
{
public DuplicateMachineNames()
{
... | /content/code_sandbox/LabXml/Validator/Machines/DuplicateMachineNames.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 164 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Hyper-V machine that have more than 8 network adapters and reports errors.
/// </summary>
public class HypervDoesSupportMax8NetworkAdapters : LabValidator, IValidate
... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HypervDoesSupportMax8NetworkAdapters.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 183 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class HyperVAdminHasMachineName : LabValidator, IValidate
{
public HyperVAdminHasMachineName()
... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HyperVAdminHasMachineName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 204 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Hyper-V machine that have more than 8 network adapters and reports errors.
/// </summary>
public class HypervMemorySettings : LabValidator, IValidate
{
publi... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HypervMemorySettings.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 271 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for non-supported combos of OS and VM Generation.
/// </summary>
public class AzureVmGenerationDoesNotFitSku : LabValidator, IValidate
{
public AzureVmGeneration... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureVmGenerationDoesNotFitSku.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 278 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Azure machine that have more than 4 network adapters and reports errors.
/// </summary>
public class AzureDoesSupportMax4NetworkAdapters : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureDoesSupportMax8NetworkAdapters.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 177 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required OS Versions are used
/// </summary>
public class DynamicsMinOsVersion : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Dynamics/DynamicsMinOsVersion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 228 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class AzureSpecifiedRoleSizeNotFound : LabValidator, IValidate
{
public AzureSpecifiedRoleSizeNot... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureSpecifiedRoleSizeNotFound.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 262 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// Dynamics 365: SQL 2016+
/// </summary>
public class DynamicsCorrectSql : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Dynamics/DynamicsCorrectSql.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 407 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// There can only be one Azure DevOps role!
/// Unless the machine is an actual machine t... | /content/code_sandbox/LabXml/Validator/Tfs/HighlanderRole.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 255 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public clas... | /content/code_sandbox/LabXml/Validator/Tfs/TfsIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 289 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class OfficeIsosExist : LabValidator, IVal... | /content/code_sandbox/LabXml/Validator/Office/OfficeIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 263 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class ScvmmIsosExist : LabValidator, IVali... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 269 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// Azure DevOps Server 2019 A... | /content/code_sandbox/LabXml/Validator/Tfs/TfsSqlIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 771 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// SCVMM 2019: SQL 2016, SQL 2017 (not SQL 2019)
/// SCVMM 2016: SQL 2012, SQL 2014, SQL 2016
/// </summary>
... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmCorrectSql.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 707 |
```smalltalk
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class ... | /content/code_sandbox/LabXml/Validator/Roles/UnknownRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 385 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// SCVMM 2019: SQL 2016, SQL 2017 (not SQL 2019)
/// SCVMM 2016: SQL 2012, SQL 2014, SQL 2016
/// </summary>
... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmMinOsVersion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 628 |
```smalltalk
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
... | /content/code_sandbox/LabXml/Validator/Roles/MandatoryRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 359 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class DscSqlServerKnown : LabValidator, IValidate
{
public DscSqlServerKnown()
{
messageContainer = Run... | /content/code_sandbox/LabXml/Validator/DscPullServer/DscSqlServerKnown.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 313 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class EmptyRoleProperties : LabV... | /content/code_sandbox/LabXml/Validator/Roles/EmptyRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 224 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.