Search Results for

    Show / Hide Table of Contents

    Class NovaRazorAttribute

    A proxy for a Noxum.Nova.Data.Cache.CachedAttribute to be used in Razor Views

    Inheritance
    object
    NovaRazorObject
    NovaRazorObject<CachedAttribute>
    NovaRazorAttribute
    Implements
    IReadOnlyCollection<NovaRazorValue>
    IEnumerable<NovaRazorValue>
    IEnumerable
    Inherited Members
    NovaRazorObject<CachedAttribute>.GetDisplayIconUrlAsync()
    NovaRazorObject<CachedAttribute>.GetDisplayNameAsync(ObjId)
    NovaRazorObject<CachedAttribute>.GetDescriptionAsync(ObjId)
    NovaRazorObject.Id
    NovaRazorObject.Guid
    NovaRazorObject.ApiIdentifier
    NovaRazorObject.Type
    NovaRazorObject.Props
    NovaRazorObject.CreateHyperRefAsync()
    NovaRazorObject.GetValue(ObjId, ObjId, ObjId)
    NovaRazorObject.GetValue(NovaRazorAttribute, NovaRazorObject, NovaRazorLanguage)
    NovaRazorObject.GetValue(string, string, string)
    NovaRazorObject.GetValue(ScopedAttributeKey)
    NovaRazorObject.GetVirtualValueAsync(ObjId, ObjId, ObjId)
    NovaRazorObject.GetVirtualValueAsync(NovaRazorAttribute, NovaRazorObject, NovaRazorLanguage)
    NovaRazorObject.GetVirtualValueAsync(string, string, string)
    NovaRazorObject.GetVirtualValueAsync(ScopedAttributeKey)
    NovaRazorObject.IsBinaryProxy
    NovaRazorObject.GetExternalBinaryThumbnailUrlAsync()
    NovaRazorObject.GetExternalBinaryUrlAsync()
    NovaRazorObject.GetChildKeys(ObjId)
    NovaRazorObject.GetChildKeys(string)
    NovaRazorObject.GetChildKeys(CachedTreeDefinition)
    NovaRazorObject.GetUsageByAttributeAsync(ScopedAttributeKey)
    NovaRazorObject.GetUsageByAttributeAsync(ObjId, ObjId, ObjId)
    NovaRazorObject.GetUsageByAttributeAsync(NovaRazorAttribute, NovaRazorObject, NovaRazorLanguage)
    NovaRazorObject.GetUsageByAttributeAsync(string, string, string)
    NovaRazorObject.Count
    NovaRazorObject.GetEnumerator()
    NovaRazorObject.ToString()
    NovaRazorObject.ConditionIsTrueAsync(string, bool)
    NovaRazorObject.ConditionsAreTrueAsync(IEnumerable<string>, bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Noxum.Nova.Razor.Model
    Assembly: Noxum.Nova.Razor.Model.dll
    Syntax
    public sealed class NovaRazorAttribute : NovaRazorObject<CachedAttribute>, IReadOnlyCollection<NovaRazorValue>, IEnumerable<NovaRazorValue>, IEnumerable

    Properties

    AllowMultiple

    Allow Multiple

    Declaration
    public bool AllowMultiple { get; }
    Property Value
    Type Description
    bool

    DataType

    The database data type

    Declaration
    public NovaDataType DataType { get; }
    Property Value
    Type Description
    NovaDataType

    FormatString

    Get the format string, if any

    Declaration
    public string FormatString { get; }
    Property Value
    Type Description
    string

    InheritanceBehavior

    The inheritance behavior

    Declaration
    public NovaInheritanceBehavior InheritanceBehavior { get; }
    Property Value
    Type Description
    NovaInheritanceBehavior

    LanguageDependent

    Language Dependent

    Declaration
    public bool LanguageDependent { get; }
    Property Value
    Type Description
    bool

    Predefined

    If true, the attribute is based on predefined values

    Declaration
    public bool Predefined { get; }
    Property Value
    Type Description
    bool

    Required

    If true, a value for this attribute is required

    Declaration
    public bool Required { get; }
    Property Value
    Type Description
    bool

    Sortable

    Sortable values: In case of Noxum.Nova.Data.Cache.CachedAttribute.AllowMultiple = true, allow the user to sort values.

    Declaration
    public bool Sortable { get; }
    Property Value
    Type Description
    bool

    SortableChildren

    Sortable children. In case of Noxum.Nova.Data.Cache.CachedAttribute.DataType = Noxum.Nova.Data.NovaDataType.ObjRef, allow the user to sort child nodes.

    Declaration
    public bool SortableChildren { get; }
    Property Value
    Type Description
    bool

    UIDataType

    The UI data type

    Declaration
    public string UIDataType { get; }
    Property Value
    Type Description
    string

    UnitOfMeasure

    Get the unit of measure or null, if this attribute has no unit set

    Declaration
    public NovaRazorUnit UnitOfMeasure { get; }
    Property Value
    Type Description
    NovaRazorUnit

    VariantAxis

    Get the variant axis, if any

    Declaration
    public NovaRazorObject VariantAxis { get; }
    Property Value
    Type Description
    NovaRazorObject

    Virtual

    Attribute is virtual (use virtualization code to calculate value)

    Declaration
    public bool Virtual { get; }
    Property Value
    Type Description
    bool

    Implements

    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    In this article
    Back to top Version 6.1.0.7rc