[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/git-thinh/ClearScript/master/ClearScript/HostItemCollateral.cs [Back]  [Original]

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using Microsoft.ClearScript.Util;

namespace Microsoft.ClearScript
{
    internal sealed class HostItemCollateral
    {
        #region special targets

        public readonly CollateralObject TargetDynamic = new CollateralObject();
        public readonly CollateralObject TargetPropertyBag = new CollateralObject();
        public readonly CollateralObject TargetList = new CollateralObject();
        public readonly CollateralObject TargetDynamicMetaObject = new CollateralObject();
        public readonly CollateralObject TargetEnumerator = new CollateralObject();

        #endregion

        #region dynamic collateral

        public readonly CollateralObject ExpandoMemberNames = new CollateralObject();
        public readonly CollateralObject ListData = new CollateralObject();

        #endregion

        #region  tear-off member cache

        public readonly CollateralObject HostMethodMap = new CollateralObject();
        public readonly CollateralObject HostIndexedPropertyMap = new CollateralObject();

        #endregion

        #region Nested type: CollateralObject

        public class CollateralObject : CollateralObject where T : class
        {
        }

        #endregion

        #region Nested type: ListDataFields

        public class ListDataFields
        {
            public int[] PropertyIndices;
            public int CachedCount;
        }

        #endregion 
    }
}

Web Proxy Viewer  |  New URL  |  Original Page