Example #1
0
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            IsFinished = true;
            stream.Dispose();
        }
Example #2
0
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            events = null;
            samples.Dispose();
        }
            /// <summary>
            /// Releases the managed resources.
            /// </summary>
            protected override void DisposeManagedResources()
            {
                base.DisposeManagedResources();

                sampleStream.Dispose();
                Poison();
            }
Example #4
0
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            if (ownsStream && lineStream != null)
            {
                lineStream.Dispose();
            }
        }
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            if (sampleStream != null)
            {
                sampleStream.Dispose();
            }

            if (lastTrainingSampleStream != null)
            {
                lastTrainingSampleStream.Dispose();
            }
        }
Example #6
0
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            psi.Dispose();
        }
Example #7
0
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            adSentenceStream.Dispose();
        }
Example #8
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     input.Dispose();
 }
Example #9
0
        //private readonly IObjectStream<LemmaSa>

        public void Dispose()
        {
            samples.Dispose();
        }
        /// <summary>
        /// Releases the managed resources.
        /// </summary>
        protected override void DisposeManagedResources()
        {
            base.DisposeManagedResources();

            lineStream.Dispose();
        }
Example #11
0
 /// <summary>
 /// Releases the managed resources.
 /// </summary>
 protected override void DisposeManagedResources()
 {
     samples.Dispose();
 }
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     sampleStream.Dispose();
     Poison();
 }
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     adSentenceStream.Dispose();
 }
Example #14
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     objectStream.Dispose();
 }
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     lineStream.Dispose();
 }
 public void Dispose()
 {
     sampleStream.Dispose();
     isPoisoned = true;
 }
Example #17
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public virtual void Dispose()
 {
     IsFinished = true;
     stream.Dispose();
 }
Example #18
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     events = null;
     samples.Dispose();
 }