#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
819 B

using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop;
using MSHelpSystem.Core;
namespace MSHelpSystem
{
public class MSHelp3Provider : HelpProvider
{
public override bool TryShowHelp(string fullTypeName)
{
if (string.IsNullOrEmpty(fullTypeName)) {
throw new ArgumentNullException("fullTypeName");
}
LoggingService.Info(string.Format("Help 3.0: Calling \"TryShowHelp\" with {0}", fullTypeName));
DisplayHelp.ContextualHelp(fullTypeName);
return true;
}
public override bool TryShowHelpByKeyword(string keyword)
{
if (string.IsNullOrEmpty(keyword)) {
throw new ArgumentNullException("keyword");
}
LoggingService.Info(string.Format("Help 3.0: Calling \"TryShowHelpByKeyword\" with {0}", keyword));
DisplayHelp.Keywords(keyword);
return true;
}
}
}