Show / Hide Table of Contents

    Class TriggerWindow

    Inheritance
    System.Object
    Window
    TriggerWindow
    Implements
    System.IComparable<Window>
    Inherited Members
    Window.ToString()
    Window.CompareTo(Window)
    Window.Encompasses(TimeSpan)
    Window.TimeBetween(DateTime, DateTime)
    Window.TimeTillFutureStart(TimeSpan)
    Window.TimeTillFutureEnd(TimeSpan)
    Window.DayOfTheWeek
    Window.Start
    Window.End
    Window.Duration
    Namespace: Sensus.Probes.User.Scripts
    Assembly: SensusAndroid.dll
    Syntax
    public class TriggerWindow : Window, IComparable<Window>

    Constructors

    TriggerWindow(String)

    Declaration
    public TriggerWindow(string windowString)
    Parameters
    Type Name Description
    System.String windowString

    Methods

    GetNextTriggerTime(DateTime, Boolean, Nullable<TimeSpan>)

    Gets the next trigger time.

    Declaration
    public ScriptTriggerTime GetNextTriggerTime(DateTime after, bool windowExpiration, Nullable<TimeSpan> maxAge)
    Parameters
    Type Name Description
    System.DateTime after

    The time after which the trigger time should occur.

    System.Boolean windowExpiration

    Whether or not to expire at the current window's end.

    System.Nullable<System.TimeSpan> maxAge

    Maximum age of the triggered script.

    Returns
    Type Description
    ScriptTriggerTime

    The next trigger time.

    GetReadableDescription(Int32)

    Declaration
    public string GetReadableDescription(int nonDowTriggerIntervalDays)
    Parameters
    Type Name Description
    System.Int32 nonDowTriggerIntervalDays
    Returns
    Type Description
    System.String

    Implements

    System.IComparable<>
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX