17 lines
541 B
C#
17 lines
541 B
C#
using JD.Timeline.Document;
|
|
using TeaBox.ObjectModel;
|
|
using JD.Serialization;
|
|
|
|
namespace JD.Timeline.Dance
|
|
{
|
|
public class DanceDocumentBinding : TapeDocumentBinding
|
|
{
|
|
public override IDocument CreateDocument(DocumentCreationContext context, object content)
|
|
{
|
|
var document = new TapeDocument(context, (Tape)content);
|
|
document.Validation += DanceDocumentValidation.Validate;
|
|
document.Validation += PictogramSynchronizer.Synchronize;
|
|
return document;
|
|
}
|
|
}
|
|
}
|