1 /* ****************************************************************************
3 * Copyright (c) Microsoft Corporation.
5 * This source code is subject to terms and conditions of the Microsoft Public License. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Microsoft Public License, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Microsoft Public License.
11 * You must not remove this notice, or any other, from this software.
14 * ***************************************************************************/
16 namespace System.Dynamic {
18 /// Represents information about a dynamic get member operation, indicating
19 /// if the get member should invoke properties when performing the get.
21 public interface IInvokeOnGetBinder {
23 /// Gets the value indicating if this GetMember should invoke properties
24 /// when performing the get. The default value when this interface is not present
28 /// This property is used by some languages to get a better COM interop experience.
29 /// When the value is set to false, the dynamic COM object won't invoke the object
30 /// but will instead bind to the name, and return an object that can be invoked or
31 /// indexed later. This is useful for indexed properties and languages that don't
32 /// produce InvokeMember call sites.
34 bool InvokeOnGet { get; }