Amplication AST Libraries Documentation
    Preparing search index...
    interface Args {
        name: string;
        namespace: string;
        access: Access;
        abstract?: boolean;
        sealed?: boolean;
        static_?: boolean;
        partial?: boolean;
        parentClassReference?: ClassReference | GenericClassReference;
        interfaceReferences?: ClassReference[];
        isNestedClass?: boolean;
        annotations?: Annotation[];
        splitAnnotations?: boolean;
    }
    Index

    Properties

    name: string

    The name of the C# class

    namespace: string

    The namespace of the C# class

    access: Access

    The access level of the C# class

    abstract?: boolean

    Whether the class is abstract

    sealed?: boolean

    Whether the class is sealed

    static_?: boolean

    Whether the class is static

    partial?: boolean

    Whether the class is partial

    parentClassReference?: ClassReference | GenericClassReference

    The class to inherit from if any

    interfaceReferences?: ClassReference[]

    Any interfaces the class implements

    isNestedClass?: boolean

    Whether this is a nested class

    annotations?: Annotation[]

    Any annotations to add to the class

    splitAnnotations?: boolean

    Whether to split annotations onto separate lines