コード例 #1
0
partial         void CopyExtraPropertiesToClone(BackgroundTask clone, bool includeLocalProperties);
コード例 #2
0
 public BackgroundTask Clone(bool includeLocalProperties)
 {
     var c = new BackgroundTask
             {
                 Complete = Complete,
                 Elapsed = Elapsed,
                 Error = Error,
                 FinishedAt = FinishedAt,
                 Id = Id,
                 Message = Message,
                 ProcessedElements = ProcessedElements,
                 ProgressInPercent = ProgressInPercent,
                 StartedAt = StartedAt,
                 TotalElements = TotalElements,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }