mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
This commit uses psl-monad branch source-depot 7209cb9 And corresponds to [SD:688741]
84 lines
2.1 KiB
C#
84 lines
2.1 KiB
C#
/*============================================================================
|
|
* Copyright (C) Microsoft Corporation, All rights reserved.
|
|
*============================================================================
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using Microsoft.Management.Infrastructure.Generic;
|
|
using Microsoft.Management.Infrastructure.Internal;
|
|
using Microsoft.Management.Infrastructure.Internal.Data;
|
|
using Microsoft.Management.Infrastructure.Serialization;
|
|
|
|
namespace Microsoft.Management.Infrastructure
|
|
{
|
|
public class CimSystemProperties
|
|
{
|
|
private string _namespace;
|
|
private string _serverName;
|
|
private string _className;
|
|
private string _path;
|
|
|
|
internal CimSystemProperties()
|
|
{
|
|
}
|
|
internal void UpdateCimSystemProperties(string systemNamespace, string serverName, string className)
|
|
{
|
|
_namespace = systemNamespace;
|
|
_serverName = serverName;
|
|
_className = className;
|
|
}
|
|
internal void UpdateSystemPath(string Path)
|
|
{
|
|
_path = Path;
|
|
}
|
|
/// <summary>
|
|
/// Namespace of CIM object
|
|
/// </summary>
|
|
public string Namespace
|
|
{
|
|
get
|
|
{
|
|
return _namespace;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Server Name of CIM object
|
|
/// </summary>
|
|
public string ServerName
|
|
{
|
|
get
|
|
{
|
|
return _serverName;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Class Name of CIM object
|
|
/// </summary>
|
|
public string ClassName
|
|
{
|
|
get
|
|
{
|
|
return _className;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Object path of CIM object
|
|
/// </summary>
|
|
public string Path
|
|
{
|
|
get
|
|
{
|
|
return _path;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|