Testing.Shift.CreateShift C# (CSharp) Method

CreateShift() public static method

Create a new Shift object.
public static CreateShift ( global shiftID, global name, global startTime, global endTime, global modifiedDate ) : Shift
shiftID global Initial value of the ShiftID property.
name global Initial value of the Name property.
startTime global Initial value of the StartTime property.
endTime global Initial value of the EndTime property.
modifiedDate global Initial value of the ModifiedDate property.
return Shift
        public static Shift CreateShift(global::System.Byte shiftID, global::System.String name, global::System.DateTime startTime, global::System.DateTime endTime, global::System.DateTime modifiedDate)
        {
            Shift shift = new Shift();
            shift.ShiftID = shiftID;
            shift.Name = name;
            shift.StartTime = startTime;
            shift.EndTime = endTime;
            shift.ModifiedDate = modifiedDate;
            return shift;
        }