Exemplo n.º 1
0
        private static List <ManifestReference> CreateReferences(PackageReferenceSet referenceSet)
        {
            if (referenceSet.References == null)
            {
                return(new List <ManifestReference>());
            }

            return((from reference in referenceSet.References
                    select new ManifestReference {
                File = reference.SafeTrim()
            }).ToList());
        }
 public EditablePackageReferenceSet(PackageReferenceSet packageReferenceSet)
 {
     _targetFramework = packageReferenceSet.TargetFramework;
     _references = new ObservableCollection<string>(packageReferenceSet.References);
 }