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); }
protected virtual void ReferencedFilesModified() { IsDirty = true; RefreshReferencedAssemblies = true; ReferencedAssembliesChanged.RaiseEvent(this); }