csharp/actions/runner/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyObject.cs

IReadOnlyObject.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;

namespace GitHub.DistributedTask.Expressions2.Sdk
{
    [EditorBrowsable(EditorBrowsableState.Never)]
    public interface IReadOnlyObject
    {
        Int32 Count { get; }

        IEnumerable Keys { get; }

        IEnumerable Values { get; }

        Object this[String key] { get; }

        Boolean ContainsKey(String key);

        IEnumerator GetEnumerator();

        Boolean TryGetValue(
            String key,
            out Object value);
    }
}