Files
PowerShell/src/Microsoft.Management.Infrastructure/CimSystemProperties.cs
T
PowerShell Team 60b3b304f2 Move files from psl-monad submodule to super-project
This commit uses psl-monad branch source-depot 7209cb9
And corresponds to [SD:688741]
2016-03-30 17:16:23 -07:00

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;
}
}
}
}