Exemplo n.º 1
0
 private void RiseAssetDeleted(string path)
 {
     if (CanRiseEvent(path))
     {
         AssetDeleted?.Invoke(path);
     }
 }
Exemplo n.º 2
0
        private void DeleteAssetInternal(Asset asset, bool silent = false)
        {
            GuidAssetTable.Remove(asset.Guid);
            GuidPathTable.Remove(asset.Guid);
            GuidHashTable.Remove(asset.Guid);

            if (!silent)
            {
                AssetDeleted?.Invoke(asset.Path);
            }
        }