Files
PowerShell/src/Microsoft.Management.Infrastructure/CimMethodDeclaration.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

48 lines
1.4 KiB
C#

/*============================================================================
* Copyright (C) Microsoft Corporation, All rights reserved.
*============================================================================
*/
using System;
using Microsoft.Management.Infrastructure.Internal.Data;
using Microsoft.Management.Infrastructure.Generic;
namespace Microsoft.Management.Infrastructure
{
/// <summary>
/// A method declaration of <see cref="CimClass"/>
/// </summary>
public abstract class CimMethodDeclaration
{
internal CimMethodDeclaration()
{
// do not allow 3rd parties to derive from / instantiate this class
}
/// <summary>
/// Name of the method
/// </summary>
public abstract string Name { get; }
/// <summary>
/// Return type of the method
/// </summary>
public abstract CimType ReturnType { get; }
/// <summary>
/// Return type of the method
/// </summary>
public abstract CimReadOnlyKeyedCollection<CimMethodParameterDeclaration> Parameters { get; }
/// <summary>
/// Qualifiers of the Method.
/// </summary>
public abstract CimReadOnlyKeyedCollection<CimQualifier> Qualifiers { get; }
public override string ToString()
{
return this.Name;
}
}
}