GIT: perform LF normalization

This commit is contained in:
Gary Sharp
2013-02-28 17:15:46 +11:00
parent 989f08a24d
commit 7d9be5620d
729 changed files with 300734 additions and 300712 deletions
+56 -56
View File
@@ -1,56 +1,56 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Disco.Services.Tasks
{
public class ScheduledTaskStatusLive
{
public string TaskName { get; set; }
public string SessionId { get; set; }
public byte Progress { get; set; }
public string CurrentProcess { get; set; }
public string CurrentDescription { get; set; }
public string TaskExceptionMessage { get; set; }
public bool CancelSupported { get; set; }
public bool IsCancelling { get; set; }
public bool IsRunning { get; set; }
public DateTime? StartedTimestamp { get; set; }
public DateTime? FinishedTimestamp { get; set; }
public DateTime? NextScheduledTimestamp { get; set; }
public string FinishedMessage { get; set; }
public string FinishedUrl { get; set; }
public int StatusVersion { get; set; }
public string[] ChangedProperties { get; set; }
public static ScheduledTaskStatusLive FromScheduledTaskStatus(ScheduledTaskStatus Status, string[] ChangedProperties)
{
return new ScheduledTaskStatusLive()
{
TaskName = Status.TaskName,
SessionId = Status.SessionId,
Progress = Status.Progress,
CurrentProcess = Status.CurrentProcess,
CurrentDescription = Status.CurrentDescription,
CancelSupported = Status.CancelSupported,
TaskExceptionMessage = (Status.TaskException == null ? null : Status.TaskException.Message),
IsCancelling = Status.IsCanceling,
IsRunning = Status.IsRunning,
StartedTimestamp = Status.StartedTimestamp,
FinishedTimestamp = Status.FinishedTimestamp,
NextScheduledTimestamp = Status.NextScheduledTimestamp,
FinishedMessage = Status.FinishedMessage,
FinishedUrl = Status.FinishedUrl,
StatusVersion = Status.StatusVersion,
ChangedProperties = ChangedProperties
};
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Disco.Services.Tasks
{
public class ScheduledTaskStatusLive
{
public string TaskName { get; set; }
public string SessionId { get; set; }
public byte Progress { get; set; }
public string CurrentProcess { get; set; }
public string CurrentDescription { get; set; }
public string TaskExceptionMessage { get; set; }
public bool CancelSupported { get; set; }
public bool IsCancelling { get; set; }
public bool IsRunning { get; set; }
public DateTime? StartedTimestamp { get; set; }
public DateTime? FinishedTimestamp { get; set; }
public DateTime? NextScheduledTimestamp { get; set; }
public string FinishedMessage { get; set; }
public string FinishedUrl { get; set; }
public int StatusVersion { get; set; }
public string[] ChangedProperties { get; set; }
public static ScheduledTaskStatusLive FromScheduledTaskStatus(ScheduledTaskStatus Status, string[] ChangedProperties)
{
return new ScheduledTaskStatusLive()
{
TaskName = Status.TaskName,
SessionId = Status.SessionId,
Progress = Status.Progress,
CurrentProcess = Status.CurrentProcess,
CurrentDescription = Status.CurrentDescription,
CancelSupported = Status.CancelSupported,
TaskExceptionMessage = (Status.TaskException == null ? null : Status.TaskException.Message),
IsCancelling = Status.IsCanceling,
IsRunning = Status.IsRunning,
StartedTimestamp = Status.StartedTimestamp,
FinishedTimestamp = Status.FinishedTimestamp,
NextScheduledTimestamp = Status.NextScheduledTimestamp,
FinishedMessage = Status.FinishedMessage,
FinishedUrl = Status.FinishedUrl,
StatusVersion = Status.StatusVersion,
ChangedProperties = ChangedProperties
};
}
}
}