Пример #1
0
        public override void Execute(object parameter)
        {
            TopicHelpContext contextFromParameter = TopicHelpContext.CreateContextFromParameter(parameter, this.DesignerContext);

            if (contextFromParameter == null)
            {
                return;
            }
            Process.Start(string.Format((IFormatProvider)CultureInfo.InvariantCulture, "http://www.bing.com/search?q=Expression+Blend+{0}+{1}", new object[2]
            {
                (object)this.GetFriendlyNameForFrameworkIdentifier(contextFromParameter.Framework.Identifier),
                (object)this.GetTypeNameFromFullName(contextFromParameter.TopicIdentifier)
            }));
        }
Пример #2
0
 public override void Execute(object parameter)
 {
     this.HelpService.ProvideHelp((object)TopicHelpContext.CreateContextFromParameter(parameter, this.DesignerContext));
 }
Пример #3
0
 public bool CanExecute(object parameter)
 {
     return(this.HelpService.IsHelpAvailable((object)TopicHelpContext.CreateContextFromParameter(parameter, this.DesignerContext)));
 }