Пример #1
0
        public Wrappers.ICountingTarget CreateChildCountingTarget()
        {
            Dvtk.Sessions.Session session = this.m_parentSession;
            //
            // Create child-countManager for the same (parent)-session.
            //
            CountManager countManager = new CountManager(session);

            //
            // Register child-countManager in the child-collection of this parent-countManager
            //
            this.m_childCountManagers.Add(countManager);
            return(countManager);
        }
Пример #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;
 }
Пример #3
0
 public Wrappers.ICountingTarget CreateChildCountingTarget()
 {
     Dvtk.Sessions.Session session = this.m_parentSession;
     //
     // Create child-countManager for the same (parent)-session.
     //
     CountManager countManager = new CountManager(session);
     //
     // Register child-countManager in the child-collection of this parent-countManager
     //
     this.m_childCountManagers.Add(countManager);
     return countManager;
 }
Пример #4
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;
 }