Exemplo n.º 1
0
 private void RecalculateReferencedAssemblies()
 {
     m_referencedAssemblies.Clear();
     foreach (var refFile in References)
     {
         if (File.Exists(refFile.FileName))
         {
             Assembly assembly = Assembly.Load(refFile.AssemblyName);
             m_referencedAssemblies.Add(assembly);
             refFile.IsProvider = ProviderInfo.IsProvider(assembly);
         }
     }
     RefreshReferencedAssemblies = false;
     ReferencedAssembliesChanged.RaiseEvent(this);
 }
Exemplo n.º 2
0
 protected virtual void ReferencedFilesModified()
 {
     IsDirty = true;
     RefreshReferencedAssemblies = true;
     ReferencedAssembliesChanged.RaiseEvent(this);
 }