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.
 
 
 
 
 

38 lines
912 B

using System;
using System.Collections.Generic;
using System.Text;
namespace Emgu.CV
{
/// <summary>
/// Attribute used by ImageBox to generate Operation Menu
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ExposableMethodAttribute : System.Attribute
{
private bool _exposable;
/// <summary>
/// Get or Set the Exposable value, if true, this function will be displayed in Operation Menu of ImageBox
/// </summary>
public bool Exposable
{
get
{
return _exposable;
}
set
{
_exposable = value;
}
}
/// <summary>
/// Constructor
/// </summary>
public ExposableMethodAttribute()
{
_exposable = true;
}
}
}