Beispiel #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();
     }
 }
Beispiel #2
0
 internal void SetLocation(FilePath newFilePath, bool isRename = true)
 {
     using (ResourceChangedFactory.GetSender(this, false, (ResourceData)null))
         this.OnSetLocation(newFilePath, isRename);
 }
Beispiel #3
0
 public void PackedProjectNameChanged(Project project, string oldProjectFilePath)
 {
     using (ResourceChangedFactory.GetSender((ResourceItem)this, false, this.CreateResourceData((FilePath)this.FullPath, oldProjectFilePath)))
         ;
 }
Beispiel #4
0
 internal void Delete()
 {
     using (ResourceChangedFactory.GetSender(this, true, (ResourceData)null))
         this.OnDelete();
 }