// Dependent items IEnumerable <DependentItemInfo> ListDependents(XmlNodeList nl) { foreach (XmlNode n in nl) { DependentItemInfo dii = new DependentItemInfo(); dii.Name = n.Attributes["name"].Value; dii.Fingerprint = (Fingerprint)ReadResult(n); yield return(dii); } }
void AddDependentBundles () { foreach (Assembly assy in bm.BundleAssemblies) { DependentItemInfo dii = new DependentItemInfo (); dii.Name = assy.GetName ().Name; dii.Fingerprint = Fingerprint.FromFile (assy.Location);; dep_bundles.Add (dii); } }
void AddDependentBundles() { foreach (Assembly assy in bm.BundleAssemblies) { DependentItemInfo dii = new DependentItemInfo(); dii.Name = assy.GetName().Name; dii.Fingerprint = Fingerprint.FromFile(assy.Location);; dep_bundles.Add(dii); } }
public void AddDependentFile (string fname, Fingerprint fp) { if (dep_files.ContainsKey (fname)) return; DependentItemInfo dii = new DependentItemInfo (); dii.Name = fname; dii.Fingerprint = fp; dep_files[fname] = dii; }
public void AddDependentFile(string fname, Fingerprint fp) { if (dep_files.ContainsKey(fname)) { return; } DependentItemInfo dii = new DependentItemInfo(); dii.Name = fname; dii.Fingerprint = fp; dep_files[fname] = dii; }
// Dependent items IEnumerable<DependentItemInfo> ListDependents (XmlNodeList nl) { foreach (XmlNode n in nl) { DependentItemInfo dii = new DependentItemInfo (); dii.Name = n.Attributes["name"].Value; dii.Fingerprint = (Fingerprint) ReadResult (n); yield return dii; } }
static void WriteDependentInterior (DependentItemInfo dii, XmlTextWriter tw) { tw.WriteAttributeString ("name", dii.Name); dii.Fingerprint.ExportXml (tw, "fingerprint"); }
static void WriteDependentInterior(DependentItemInfo dii, XmlTextWriter tw) { tw.WriteAttributeString("name", dii.Name); dii.Fingerprint.ExportXml(tw, "fingerprint"); }