Exemplo n.º 1
0
 /// <summary>
 /// Start the gathering of validation results output.
 /// </summary>
 /// <param name="fileName">The location of the file where you want to save.</param>
 public void StartResultsGathering(string fileName)
 {
     //
     // Setup call-back interfaces for ;
     // - serialization
     // - counting
     // - activity reporting.
     //
     this.m_topSerializer    = new Serializer(null, this, true, Wrappers.WrappedSerializerNodeType.TopParent);
     this.m_topCountManager  = new CountManager(this);
     this.m_activityReporter = new ActivityReporter(this);
     //
     // Couple into adapter layer between unmanaged and managed code.
     //
     this.m_MBaseSession.InitTopSerializationAndCountingAndActivityReportingTargets(
         this.m_topSerializer, this.m_topCountManager, this.m_activityReporter);
     this.m_topSerializer.StartTopSerializer(fileName);
     this.m_topCountManager.SerializeEnabled = true;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Start the gathering of validation results output.
 /// </summary>
 /// <param name="fileName">The location of the file where you want to save.</param>
 public void StartResultsGathering(string fileName)
 {
     //
     // Setup call-back interfaces for ;
     // - serialization
     // - counting
     // - activity reporting.
     //
     this.m_topSerializer = new Serializer(null, this, true, Wrappers.WrappedSerializerNodeType.TopParent);
     this.m_topCountManager = new CountManager(this);
     this.m_activityReporter = new ActivityReporter(this);
     //
     // Couple into adapter layer between unmanaged and managed code.
     //
     this.m_MBaseSession.InitTopSerializationAndCountingAndActivityReportingTargets(
         this.m_topSerializer, this.m_topCountManager, this.m_activityReporter);
     this.m_topSerializer.StartTopSerializer(fileName);
     this.m_topCountManager.SerializeEnabled = true;
 }