mirror of https://github.com/pulumi/pulumi.git
24 lines
716 B
C#
24 lines
716 B
C#
// Copyright 2016-2019, Pulumi Corporation
|
|
|
|
using System;
|
|
|
|
namespace Pulumi
|
|
{
|
|
/// <summary>
|
|
/// Base class of <see cref="Asset"/>s and <see cref="Archive"/>s.
|
|
/// </summary>
|
|
public abstract class AssetOrArchive
|
|
{
|
|
internal string SigKey { get; }
|
|
internal string PropName { get; }
|
|
internal object Value { get; }
|
|
|
|
private protected AssetOrArchive(string sigKey, string propName, object value)
|
|
{
|
|
SigKey = sigKey ?? throw new ArgumentNullException(nameof(sigKey));
|
|
PropName = propName ?? throw new ArgumentNullException(nameof(propName));
|
|
Value = value ?? throw new ArgumentNullException(nameof(value));
|
|
}
|
|
}
|
|
}
|