Click or drag to resize

SessionDefinition Class

Inheritance Hierarchy
SystemObject
  ArthaChitra.Core.ViewModelNotifyPropertyBase
    ArthaChitra.Model.ChartSessionDefinition

Namespace: ArthaChitra.Model.Chart
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
public sealed class SessionDefinition : NotifyPropertyBase, 
	ISessionDefinition, IComparable<SessionDefinition>

The SessionDefinition type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyEndDay Gets the end DayOfWeek
Public propertyEndTicks Helper property to serialize EndTime property
Public propertyEndTime Gets the end time
Public propertyIsEOD Gets or set if the EOD time stamp set to start date or end date
Public propertySessionType Gets the SessionType
Public propertyStartDay Gets the start DayOfWeek
Public propertyStartTicks Helper property to serialize StartTime property
Public propertyStartTime Gets the start time
Top
Methods
 NameDescription
Public methodCalculateSessionEnd Calculates the session end time
Public methodCalculateSessionStart Calculates the session start time
Public methodCompareTo 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetElapsedTime Calculate the time elapsed from session start
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSessionDayOfWeeks Splits the session into daysOfWeek
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsInSession(DateTime) Calculate if the time is in session or not. For intraday and real-time ticks
Public methodIsInSession(DateTime, DateTime, DateTime) Checks if daily bars are in session
Public methodToString
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventPropertyChanged
(Inherited from NotifyPropertyBase)
Top
See Also