Ejemplo n.º 1
0
 public void Dispose()
 {
     if (_context != null)
     {
         Marshal.ReleaseComObject(_context);
         _context = null;
     }
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public CustomContext(IDWSContext context)
     : base(context)
 {
 }