Пример #1
0
 void _writer_ObjectWriteExData( object sender, ObjectWriteExDataEventArgs e )
 {
     if( !_alreadyWritten.Contains( e.Obj ) )
     {
         WritePluginsDataElement( "PluginsData", e.Obj, false );
     }
 }
Пример #2
0
        private void DoWriteEnd(IStructuredWriter wSub, object o)
        {
            ObjectWriteExDataEventArgs e = new ObjectWriteExDataEventArgs(wSub, o);

            RaiseWriteEvent(e);
            Xml.WriteEndElement();
        }
Пример #3
0
        internal void RaiseWriteEvent(ObjectWriteExDataEventArgs e)
        {
            var h = ObjectWriteExData;

            if (h != null)
            {
                h(this, e);
            }
            PropagateWriteEvent(e);
        }
Пример #4
0
 protected override void PropagateWriteEvent( ObjectWriteExDataEventArgs e )
 {
     Parent.RaiseWriteEvent( e );
 }
Пример #5
0
 private void DoWriteEnd( IStructuredWriter wSub, object o )
 {
     ObjectWriteExDataEventArgs e = new ObjectWriteExDataEventArgs( wSub, o );
     RaiseWriteEvent( e );
     Xml.WriteEndElement();
 }
Пример #6
0
 protected virtual void PropagateWriteEvent( ObjectWriteExDataEventArgs e )
 {
 }
Пример #7
0
 internal void RaiseWriteEvent( ObjectWriteExDataEventArgs e )
 {
     var h = ObjectWriteExData;
     if( h != null ) h( this, e );
     PropagateWriteEvent( e );
 }
Пример #8
0
 protected virtual void PropagateWriteEvent(ObjectWriteExDataEventArgs e)
 {
 }
Пример #9
0
 protected override void PropagateWriteEvent(ObjectWriteExDataEventArgs e)
 {
     Parent.RaiseWriteEvent(e);
 }