示例#1
0
文件: Session.cs 项目: top501/DVTK-1
 /// <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;
 }
示例#2
0
文件: Session.cs 项目: ewcasas/DVTK
 /// <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;
 }