Primitively Primitively
Primitively Primitively
DocFX + Singulink = ♥

Search Results for

    Class DateOnlyAttribute

    This attribute should be used on a partial record struct to source generate a Primitively IDateOnly type that encapsulates a date value in ISO 8601 YYYY-MM-DD format.

    Inheritance
    object
    Attribute
    PrimitiveAttribute
    DateOnlyAttribute
    Inherited Members
    PrimitiveAttribute.ImplementIValidatableObject
    Namespace: Primitively
    Assembly: Primitively.Abstractions.dll
    Syntax
    [AttributeUsage(AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
    public sealed class DateOnlyAttribute : PrimitiveAttribute
    Examples

    This example shows how to use the DateOnly attribute to source generate a Primitively IDateOnly type.

    [DateOnly]
    public partial record struct Example;
    © Electronic Hands. All rights reserved.