Exemplo n.º 1
0
        public override void WriteStartObject(XamlType xamlType)
        {
            if (deferredWriter != null)
            {
                deferredWriter.Writer.WriteStartObject(xamlType);
                deferredWriter.DeferCount++;
                return;
            }

            intl.WriteStartObject(xamlType);
        }
Exemplo n.º 2
0
        public override void WriteStartObject(XamlType xamlType)
        {
            if (xamlType.IsUnknown)
            {
                throw new XamlObjectWriterException($"Cannot create unknown type '{xamlType}'.");
            }

            if (deferredWriter != null)
            {
                deferredWriter.Writer.WriteStartObject(xamlType);
                deferredWriter.DeferCount++;
                return;
            }

            intl.WriteStartObject(xamlType);
        }
Exemplo n.º 3
0
 public override void WriteStartObject(XamlType xamlType)
 {
     intl.WriteStartObject(xamlType);
 }