Skip to content

Instantly share code, notes, and snippets.

@rwindegger
Last active October 1, 2016 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwindegger/6e1298fae3ffa7ad9748578d564d235e to your computer and use it in GitHub Desktop.
Save rwindegger/6e1298fae3ffa7ad9748578d564d235e to your computer and use it in GitHub Desktop.
// <copyright file="AddinIdentifierAttribute.cs" company="Rene Windegger">
// Copyright (c) 2013 Rene Windegger. All rights reserved.
// </copyright>
// <author>Rene Windegger</author>
// <date>23.12.2013</date>
// <summary>Implements the addin identifier attribute class</summary>
namespace wtf.windegger.addinframework
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary> Attribute for addin identifier. </summary>
/// <remarks> Rene Windegger, 23.12.2013. </remarks>
/// <seealso cref="T:System.Attribute"/>
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class AddinIdentifierAttribute : Attribute
{
/// <summary> Gets the name of the class. </summary>
/// <value> The name of the class. </value>
public string ClassName { get; private set; }
/// <summary> Initializes a new instance of the AddinIdentifierAttribute class. </summary>
/// <remarks> Rene Windegger, 23.12.2013. </remarks>
/// <param name="className"> Name of the class. </param>
public AddinIdentifierAttribute(string className)
{
this.ClassName = className;
}
/// <summary> Initializes a new instance of the AddinIdentifierAttribute class. </summary>
/// <remarks> Rene Windegger, 23.12.2013. </remarks>
protected AddinIdentifierAttribute()
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment