Exemplo n.º 1
0
        // 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);
            }
        }
Exemplo n.º 2
0
	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);
	    }
	}
Exemplo n.º 3
0
        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);
            }
        }
Exemplo n.º 4
0
	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;
	}
Exemplo n.º 5
0
        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;
        }
Exemplo n.º 6
0
	// 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;
	    }
	}
Exemplo n.º 7
0
	static void WriteDependentInterior (DependentItemInfo dii, XmlTextWriter tw)
	{
	    tw.WriteAttributeString ("name", dii.Name);
	    dii.Fingerprint.ExportXml (tw, "fingerprint");
	}
Exemplo n.º 8
0
 static void WriteDependentInterior(DependentItemInfo dii, XmlTextWriter tw)
 {
     tw.WriteAttributeString("name", dii.Name);
     dii.Fingerprint.ExportXml(tw, "fingerprint");
 }