/// <summary> /// Sets the timestamp in a fluent way. /// </summary> /// <param name="interface">Interface type value.</param> /// <returns>Returns the <see cref="RoutineRecordItem"/> object.</returns> public static RoutineRecordItem WithInterface(this RoutineRecordItem value, InterfaceType @interface) { value.Interface = @interface; return(value); }
/// <summary> /// Sets the timestamp in a fluent way. /// </summary> /// <param name="timestamp">Timestamp value.</param> /// <returns>Returns the <see cref="RoutineRecordItem"/> object.</returns> public static RoutineRecordItem WithTimestamp(this RoutineRecordItem value, DateTimeOffset timestamp) { value.Timestamp = timestamp;; return(value); }
/// <summary> /// Sets the entity ID in a fluent way. /// </summary> /// <param name="entityId">Entity ID.</param> /// <returns>Returns the <see cref="RoutineRecordItem"/> object.</returns> public static RoutineRecordItem WithEntityId(this RoutineRecordItem value, Guid entityId) { value.EntityId = entityId; return(value); }