mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
24 lines
No EOL
565 B
C#
24 lines
No EOL
565 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ICSharpCode.ILSpy;
|
|
|
|
namespace Cosmos.ILSpyPlugs.Plugin
|
|
{
|
|
public abstract class BaseContextMenuEntry: IContextMenuEntry
|
|
{
|
|
public virtual bool IsVisible(TextViewContext context)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public virtual bool IsEnabled(TextViewContext context)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public abstract void Execute(TextViewContext context);
|
|
}
|
|
} |