#region Using Statements
using System;
#endregion
namespace ArdupilotMega.Attributes
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
public sealed class PrivateAttribute : Attribute
{
private readonly bool _isPrivate;
///
/// Initializes a new instance of the class.
///
/// if set to true [is private].
public PrivateAttribute(bool isPrivate)
{
_isPrivate = isPrivate;
}
///
/// Gets a value indicating whether this instance is private.
///
///
/// true if this instance is private; otherwise, false.
///
public bool IsPrivate
{
get { return _isPrivate; }
}
}
}