#region GNU General Public License
// NAntContrib
// Copyright (C) 2004 Kent Boogaart
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// Kent Boogaart (kentcb@internode.on.net)
#endregion
using System;
namespace NAnt.Contrib.Tasks{
/// <summary>
/// Defines possible reference counting scheme types for the <see cref="GacTask">GAC</see> tasks.
/// </summary>
public enum SchemeType {
/// <summary>
/// Specifies that no reference counting scheme will be used when performing the GAC task.
/// </summary>
None,
/// <summary>
/// Specifies that registry-related reference counting will be used when performing the GAC task.
/// </summary>
/// <remarks>
/// When the scheme type is set to <c>UninstallKey</c>, the related scheme ID should be set to the name of the application
/// set in the <c>HKLM\Software\Microsoft\Windows\CurrentVersion</c> registry key.
/// </remarks>
///
UninstallKey,
/// <summary>
/// Specifies that file-based reference counting will be used when performing the GAC task.
/// </summary>
/// <remarks>
/// When the scheme type is set to <c>FilePath</c>, the related scheme ID should be set to the full path to the executable
/// file that installs the assembly.
/// </remarks>
///
FilePath,
/// <summary>
/// Specifies that custom information will be supplied to accommodate reference counting.
/// </summary>
/// <remarks>
/// When the scheme type is set to <c>Opaque</c>, the related scheme ID can be set to any custom piece of information.
/// </remarks>
Opaque
}
}
|