The DefaultValue attribute is applied to a property of the plug-in class. It allows the plug-in creator to specify a default value for the property.

Example:

public class DisclaimerSelectorPlugin
{
    [DefaultValue("All opinions are strictly those of the author.")]
    ...
    public string DisclaimerText
    {
        get;
        set;
    }
...
}


Display:

Last edited Jun 10, 2009 at 10:27 PM by tmerkel, version 1

Comments

No comments yet.