Itenso.TimePeriod.TimeRange.TimeRange C# (CSharp) Method

TimeRange() protected method

protected TimeRange ( ITimePeriod copy, bool isReadOnly ) : System
copy ITimePeriod
isReadOnly bool
return System
        protected TimeRange( ITimePeriod copy, bool isReadOnly )
        {
            if ( copy == null )
            {
                throw new ArgumentNullException( "copy" );
            }
            start = copy.Start;
            end = copy.End;
            this.isReadOnly = isReadOnly;
        }

Same methods

TimeRange::TimeRange ( ) : System
TimeRange::TimeRange ( System.DateTime start, System.DateTime end, bool isReadOnly = false ) : System
TimeRange::TimeRange ( System.DateTime start, System.TimeSpan duration, bool isReadOnly = false ) : System
TimeRange::TimeRange ( System.DateTime moment, bool isReadOnly = false ) : System
TimeRange::TimeRange ( ITimePeriod copy ) : System
TimeRange::TimeRange ( bool isReadOnly = false ) : System