Show / Hide Table of Contents

    Class CodeCompilationParameters

    Provides parameters for a code compilation.

    Inheritance
    System.Object
    CodeCompilationParameters
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.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
    System.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
    System.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
    System.String
    Back to top Nevatech Sentinet 6.6 Online Documentation