internal FileAssociationCollection(FileAssociation[] fileAssociations)
 {
     if (fileAssociations != null)
     {
         this.list.AddRange(fileAssociations);
     }
 }
 private bool AddClickOnceFileAssociations(ApplicationManifest manifest)
 {
     if (this.FileAssociations != null)
     {
         foreach (ITaskItem item in this.FileAssociations)
         {
             FileAssociation fileAssociation = new FileAssociation {
                 DefaultIcon = item.GetMetadata("DefaultIcon"),
                 Description = item.GetMetadata("Description"),
                 Extension = item.ItemSpec,
                 ProgId = item.GetMetadata("Progid")
             };
             manifest.FileAssociations.Add(fileAssociation);
         }
     }
     return true;
 }
 public void Add(FileAssociation fileAssociation)
 {
     _list.Add(fileAssociation);
 }
 internal FileAssociationCollection(FileAssociation[] fileAssociations)
 {
     if (fileAssociations == null)
         return;
     _list.AddRange(fileAssociations);
 }
 public void Add(FileAssociation fileAssociation)
 {
     _list.Add(fileAssociation);
 }