protected override void PreFilterProperties(IDictionary properties)
 {
     base.PreFilterProperties(properties);
     if (properties["URL"] == null)
     {
         properties["URL"] = new WebServiceUrlPropertyDescriptor(base.Activity.Site, TypeDescriptor.CreateProperty(base.GetType(), "URL", typeof(string), new Attribute[] { DesignOnlyAttribute.Yes, MergablePropertyAttribute.No }));
     }
     if (((ITypeProvider) base.GetService(typeof(ITypeProvider))) == null)
     {
         throw new InvalidOperationException(SR.GetString("General_MissingService", new object[] { typeof(ITypeProvider).FullName }));
     }
     (base.Activity as InvokeWebServiceActivity).GetParameterPropertyDescriptors(properties);
 }
 protected override void PreFilterProperties(IDictionary properties)
 {
     base.PreFilterProperties(properties);
     if (properties["URL"] == null)
     {
         properties["URL"] = new WebServiceUrlPropertyDescriptor(base.Activity.Site, TypeDescriptor.CreateProperty(base.GetType(), "URL", typeof(string), new Attribute[] { DesignOnlyAttribute.Yes, MergablePropertyAttribute.No }));
     }
     if (((ITypeProvider)base.GetService(typeof(ITypeProvider))) == null)
     {
         throw new InvalidOperationException(SR.GetString("General_MissingService", new object[] { typeof(ITypeProvider).FullName }));
     }
     (base.Activity as InvokeWebServiceActivity).GetParameterPropertyDescriptors(properties);
 }
        protected override void PreFilterProperties(IDictionary properties)
        {
            base.PreFilterProperties(properties);
            if (properties["URL"] == null)
                properties["URL"] = new WebServiceUrlPropertyDescriptor(Activity.Site, TypeDescriptor.CreateProperty(this.GetType(), "URL", typeof(string), DesignOnlyAttribute.Yes, MergablePropertyAttribute.No));

            //

            ITypeProvider typeProvider = (ITypeProvider)GetService(typeof(ITypeProvider));
            if (typeProvider == null)
                throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));

            InvokeWebServiceActivity invokeWebService = Activity as InvokeWebServiceActivity;
            invokeWebService.GetParameterPropertyDescriptors(properties);
        }
        protected override void PreFilterProperties(IDictionary properties)
        {
            base.PreFilterProperties(properties);
            if (properties["URL"] == null)
            {
                properties["URL"] = new WebServiceUrlPropertyDescriptor(Activity.Site, TypeDescriptor.CreateProperty(this.GetType(), "URL", typeof(string), DesignOnlyAttribute.Yes, MergablePropertyAttribute.No));
            }

            //

            ITypeProvider typeProvider = (ITypeProvider)GetService(typeof(ITypeProvider));

            if (typeProvider == null)
            {
                throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
            }

            InvokeWebServiceActivity invokeWebService = Activity as InvokeWebServiceActivity;

            invokeWebService.GetParameterPropertyDescriptors(properties);
        }