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()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    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
    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
    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
    public string References { get; set; }
    Property Value
    Type Description
    String
    Back to top Nevatech Sentinet 6.5 Online Documentation