コード例 #1
0
        /// <summary>
        ///     The dispose.
        /// </summary>
        /// <param name="disposing">
        ///     The disposing.
        /// </param>
        // ReSharper disable once FlagArgument
        private void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    context?.Dispose();
                }

                disposedValue = true;
            }
        }
コード例 #2
0
 /// <inheritdoc />
 public void Dispose()
 {
     phsomContext?.Dispose();
 }