git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1026 59da171f-624f-0410-aa54-27559c288bec
25 lines
692 B
C#
25 lines
692 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace Duplicati.Server.Serialization
|
|
{
|
|
public class SerializableStatusCreator : CustomCreationConverter<ISerializableStatus>
|
|
{
|
|
public override ISerializableStatus Create(Type objectType)
|
|
{
|
|
return new Implementations.SerializableStatus();
|
|
}
|
|
}
|
|
|
|
public class ProgressEventDataCreator : CustomCreationConverter<IProgressEventData>
|
|
{
|
|
public override IProgressEventData Create(Type objectType)
|
|
{
|
|
return new Implementations.ProgressEventData();
|
|
}
|
|
}
|
|
}
|