Skip to main content
A newer version of this page is available. .

RuleBase Members

Serves as a base class for the DailyRule, WeeklyRule, MonthlyRule and YearlyRule object.

Constructors

Name Description
RuleBase() Initializes a new instance of the object.

Properties

Name Description
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
IsWorkDay Specifies whether a day is a work day.
WorkTimeRanges Provides settings for work time ranges.

Methods

Name Description
Assign(CollectionItem) Copies the settings of the specified object to the current object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object. Inherited from CollectionItem.
See Also