Search Results for

    Show / Hide Table of Contents

    Class CodeCompilationParameters

    Provides parameters for a code compilation.

    Inheritance
    object
    CodeCompilationParameters
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    public sealed class CodeCompilationParameters

    Constructors

    CodeCompilationParameters()

    Declaration
    public CodeCompilationParameters()

    Properties

    Function

    Gets or sets the component's C# code. The function may access the "context" parameter of the type MessagePipelineContext and must return the MessagePipelineResult value.

    Declaration
    [DataMember]
    public string Function { get; set; }
    Property Value
    Type Description
    string
    Examples
    if (context.IsRequest)
    {
        context.SetMessageBodyContent("test");
    }
    return MessagePipelineResult.Continue;

    Imports

    Gets or sets the namespaces that must be declared with "using" statements. Namespaces shall be separated with either a new line or a semicolon.

    Declaration
    [DataMember]
    public string Imports { get; set; }
    Property Value
    Type Description
    string

    References

    Gets or sets the fully qualified names of assemblies that must be referenced. Names shall be separated with either a new line or a semicolon.

    Declaration
    [DataMember]
    public string References { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation