Adds a desctiotion about a C1 Function.
Different C1 Function providers let developers create new C1 Functions by creating artifacts like static funtions in C#,
Razor Web Pages, User Controls etc. These C1 Functions can have descriptions and this attribute let you control this
description.
The use of this attribute is relative to the C1 Function provider being used.
Namespace: Composite.FunctionsAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Examples
Here is an example of how to use FunctionAttribute:
CopyC#

[Function(Description="The description goes here")] public static int GetItemCount() { // more code here }
Examples
Here is an example of how to use FunctionAttribute to annotate a class:
CopyC#
Note that Name is not expected when FunctionParameterAttribute is used this way.

[FunctionParameter(Label="Item count", DefaultValue=10)] public int ItemCount { get; set; }