Beispiel #1
0
        void VisitIn(DOMDropZone dropZone)
        {
            Assert.IsNotNull(dropZone);

            var fieldName = WriteChild(DOMDropZone.kTag, GetCSharpType(dropZone, DOMDropZone.kClass), dropZone);

            WriteClasses(fieldName, dropZone.@class);

            WriteSetOrBind(fieldName, DOMDropZone.kClass, "canAcceptDrop", dropZone.canAcceptDrop);
            WriteBind(fieldName, DOMDropZone.kClass, "onDrop", dropZone.onDrop);
            WriteBind(fieldName, DOMDropZone.kClass, "onPotentialDrop", dropZone.onPotentialDrop);

            PushAddChildMethod(fieldName);
        }
Beispiel #2
0
 void VisitOut(DOMDropZone dropZone)
 {
     PopAddChildMethod();
 }