I know that this is small beer, and it’s mostly my OCD but…
when I create a new plugin I am compelled (by the power of Patty) to edit this:
namespace WingCutters
{
public class WingCuttersInfo : GH_AssemblyInfo
{
public override string Name
{
get
{
return "WingCutters";
}
}
public override Bitmap Icon
{
get
{
//Return a 24x24 pixel bitmap to represent this GHA library.
return null;
}
}
public override string Description
{
get
{
//Return a short string describing the purpose of this GHA library.
return "";
}
}
public override Guid Id
{
get
{
return new Guid("89b9ca79-7ccc-41f3-972f-768283efb797");
}
}
public override string AuthorName
{
get
{
//Return a string identifying you or your company.
return "John";
}
}
public override string AuthorContact
{
get
{
//Return a string representing your preferred contact details.
return "";
}
}
}
}
into this:
namespace WingCutters
{
public class WingCuttersInfo : GH_AssemblyInfo
{
public override string Name => "WingCutters";
public override Bitmap Icon => null;
public override string Description => "Creates wing cutout and trim and flaps volume and trim to speed things up";
public override Guid Id => new Guid("89b9ca79-7ccc-41f3-972f-768283efb797");
public override string AuthorName => "John";
public override string AuthorContact => "";
}
}
uh, just because.
Could you change future plugin code generaters to use the expression body syntax? Where it makes sense.
The component ComponentGuid and Icon are also candidates for this.