Show / Hide Table of Contents

Class DateSpecification

Represents a single date or a range of dates, specified at arbitrary levels of precision.

Inheritance
System.Object
NotificationObject
DateSpecification
DataCollectionFrequency
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DateSpecification : NotificationObject

Constructors

DateSpecification()

Initializes a new instance of the DateSpecification class.

Declaration
public DateSpecification()

Properties

Date

If this instance represents a single date, gets or sets the date.

Declaration
public Date Date { get; set; }
Property Value
Type Description
Date

The date.

DateRange

If this instance represents a range of dates, gets or sets the date range.

Declaration
public DateRange DateRange { get; set; }
Property Value
Type Description
DateRange

The date range.

IsEmpty

Gets a value indicating whether this object lacks any content.

Declaration
public virtual bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

IsRange

Gets or sets a value indicating whether this instance is range or a single date.

Declaration
public bool IsRange { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is range; otherwise, false.

Methods

ToString()

Returns a that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents this instance.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica