Ejemplo n.º 1
0
 /// <summary>
 ///   Disposes the object, releasing all managed and unmanaged resources.
 /// </summary>
 /// <param name="disposing">If true, indicates that the object is disposed; otherwise, the object is finalized.</param>
 protected override void OnDisposing(bool disposing)
 {
     if (disposing)
     {
         RuntimeModel.SafeDispose();
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        ///   Disposes the object, releasing all managed and unmanaged resources.
        /// </summary>
        /// <param name="disposing">If true, indicates that the object is disposed; otherwise, the object is finalized.</param>
        protected override void OnDisposing(bool disposing)
        {
            if (!disposing)
            {
                return;
            }

            ChoiceResolver.SafeDispose();
            RuntimeModel.SafeDispose();
        }
Ejemplo n.º 3
0
            /// <summary>
            ///   Disposes the object, releasing all managed and unmanaged resources.
            /// </summary>
            /// <param name="disposing">If true, indicates that the object is disposed; otherwise, the object is finalized.</param>
            protected override void OnDisposing(bool disposing)
            {
                if (!disposing)
                {
                    return;
                }

                _model.SafeDispose();
                _stateStack.SafeDispose();
            }