Esempio n. 1
0
 public void PackTo(Project project)
 {
     if (project == null || this.Packedprojects.Contains(project))
     {
         return;
     }
     using (ResourceChangedFactory.GetSender((ResourceItem)this, false, (ResourceData)null))
     {
         this.Packedprojects.Add(project);
         this.OnPackedChanged();
     }
 }
Esempio n. 2
0
 internal void SetLocation(FilePath newFilePath, bool isRename = true)
 {
     using (ResourceChangedFactory.GetSender(this, false, (ResourceData)null))
         this.OnSetLocation(newFilePath, isRename);
 }
Esempio n. 3
0
 public void PackedProjectNameChanged(Project project, string oldProjectFilePath)
 {
     using (ResourceChangedFactory.GetSender((ResourceItem)this, false, this.CreateResourceData((FilePath)this.FullPath, oldProjectFilePath)))
         ;
 }
Esempio n. 4
0
 internal void Delete()
 {
     using (ResourceChangedFactory.GetSender(this, true, (ResourceData)null))
         this.OnDelete();
 }