Beispiel #1
0
 public void Dispose()
 {
     if (_context != null)
     {
         Marshal.ReleaseComObject(_context);
         _context = null;
     }
 }
Beispiel #2
0
        public DWSContext(IDWSContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            _errorCallback   = ErrorCallback;
            _includeCallback = IncludeCallback;

            _context = context;
            _context.SetErrorCallback(_errorCallback);
            _context.SetIncludeCallback(_includeCallback);
        }
Beispiel #3
0
 public CustomContext(IDWSContext context)
     : base(context)
 {
 }