protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck)
        {
            XamlMember result           = base.LookupMember(name, skipReadOnlyCheck);
            var        descriptorMember = result as PropertyDescriptorXamlMember;

            if (descriptorMember != null)
            {
                Type componentType = descriptorMember.Descriptor.ComponentType;
                if (componentType.IsDynamicActivity())
                {
                    result = new DynamicActivityXamlMember(descriptorMember.Descriptor, descriptorMember.DeclaringType);
                }
            }
            return(result);
        }
 public DynamicActivityPropertyInvoker(DynamicActivityXamlMember xamlMember)
     : base(xamlMember)
 {
     _xamlMember = xamlMember;
 }
 public DynamicActivityPropertyInvoker(DynamicActivityXamlMember xamlMember)
     : base(xamlMember)
 {
     _xamlMember = xamlMember;
 }
 protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck)
 {
     XamlMember result = base.LookupMember(name, skipReadOnlyCheck);
     var descriptorMember = result as PropertyDescriptorXamlMember;
     if (descriptorMember != null)
     {
         Type componentType = descriptorMember.Descriptor.ComponentType;
         if (componentType.IsDynamicActivity())
         {
             result = new DynamicActivityXamlMember(descriptorMember.Descriptor, descriptorMember.DeclaringType);
         }
     }
     return result;
 }