Search Results for

    Show / Hide Table of Contents
    note

    VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.

    Class ForwardAttribute

    The ForwardAttribute class is used to forward an attribute from a VeloxDB API to an ASP.NET API Controller.

    Inheritance
    object
    Attribute
    ForwardAttribute
    Inherited Members
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: VeloxDB.AspNet
    Assembly: vlxasp.dll
    Syntax
    public class ForwardAttribute : Attribute

    Constructors

    ForwardAttribute(Type)

    Initializes a new instance of the ForwardAttribute class with the specified attribute type.

    Declaration
    public ForwardAttribute(Type attribute)
    Parameters
    Type Name Description
    Type attribute

    The type of the attribute to forward.

    ForwardAttribute(Type, params object[])

    Initializes a new instance of the ForwardAttribute class with the specified attribute type and arguments.

    Declaration
    public ForwardAttribute(Type attribute, params object[] arguments)
    Parameters
    Type Name Description
    Type attribute

    The type of the attribute to forward.

    object[] arguments

    The arguments for the attribute.

    Properties

    Arguments

    Gets the arguments for the attribute.

    Declaration
    public object[] Arguments { get; }
    Property Value
    Type Description
    object[]

    Attribute

    Gets the attribute type that is being forwarded.

    Declaration
    public Attribute Attribute { get; }
    Property Value
    Type Description
    Attribute

    NamedArguments

    The NamedArguments property is used to pass named arguments to the attribute constructor. The array should be composed of key-value pairs, with the keys being strings and placed in odd positions, and the corresponding values in even positions. It is important to note that the length of the array must be even, with an equal number of keys and values. The keys must be the names of properties or fields on the attribute type, and the values should be of the appropriate type for those properties or fields.

    Declaration
    public object[] NamedArguments { get; set; }
    Property Value
    Type Description
    object[]
    In this article
    © 2025 Copyright: VeloxDB