////////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Kernel\Singularity\IResourceAmount.cs
//
// Note:
//
using System;
namespace Microsoft.Singularity.Scheduling
{
///
/// The base class from which resource-specific resource amount classes are derived.
///
public abstract class IResourceAmount
{
///
/// Get the resource object that this IResourceAmount object quantifies
///
public abstract IResource Resource
{
get;
}
public abstract IResourceAmount AddTo(IResourceAmount amount);
}
}