System.Dynamic.Tests.BindingRestrictionsProxyTests.BindingRestrictionsProxyProxy.BindingRestrictionsProxyProxy C# (CSharp) Method

BindingRestrictionsProxyProxy() public method

public BindingRestrictionsProxyProxy ( object proxy ) : System.Collections.Generic
proxy object
return System.Collections.Generic
            public BindingRestrictionsProxyProxy(object proxy)
            {
                _proxy = proxy;
                if (_isEmpty == null)
                {
                    Type type = _proxy.GetType();
                    _isEmpty = type.GetProperty("IsEmpty");
                    _test = type.GetProperty("Test");
                    _restrictions = type.GetProperty("Restrictions");
                }
            }
BindingRestrictionsProxyTests.BindingRestrictionsProxyProxy