Exemplo n.º 1
0
        public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS)
        {
            if (_tempFileName != null && File.Exists(_tempFileName))
            {
                File.Delete(_tempFileName);
            }

            _list.OnClose(new[] { vSTREECLOSEACTIONS });
        }
Exemplo n.º 2
0
 /// <summary>
 /// Notifies the current tree list that it is being closed.
 /// </summary>
 /// <param name="ptca"></param>
 /// <returns></returns>
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     //Logger.Log("ResultList.OnClose");
     return VSConstants.E_NOTIMPL;
 }
 int IVsSimpleObjectList2.OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     // Do Nothing.
     return VSConstants.S_OK;
 }
Exemplo n.º 4
0
 public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS)
 {
 }
Exemplo n.º 5
0
 public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS) {
 }
Exemplo n.º 6
0
        public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS) {
            if (_tempFileName != null && File.Exists(_tempFileName)) {
                File.Delete(_tempFileName);
            }

            _list.OnClose(new[] { vSTREECLOSEACTIONS });
        }
Exemplo n.º 7
0
 int IVsLiteTreeList.OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 8
0
 public int OnClose(VSTREECLOSEACTIONS[] ptca) {
     foreach (var item in _items) {
         item.Close(ptca[0]);
     }
     return VSConstants.S_OK;
 }
Exemplo n.º 9
0
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     return VSConstants.S_OK;
 }
Exemplo n.º 10
0
 /// <summary>
 ///     Called when a list is collapsed by the user.
 /// </summary>
 /// <param name="ptca"></param>
 /// <returns></returns>
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     // We do not need to do anything on close.
     return VSConstants.E_NOTIMPL;
 }