Ejemplo n.º 1
0
		static Container ()
		{
			XmlDiffAdaptor adaptor = new XmlDiffAdaptor ();
			adaptor.ChildElementName = "child";
			adaptor.ChildAdaptor = new XmlDiffAdaptor ();
			adaptor.ChildAdaptor.PropsElementName = "packing";
			
			containerDiffGenerator = new DiffGenerator ();
			containerDiffGenerator.CurrentStatusAdaptor = adaptor;
			containerDiffGenerator.NewStatusAdaptor = adaptor;
		}
Ejemplo n.º 2
0
		DiffGenerator GetDiffGenerator (IProject prj)
		{
			DiffGenerator gen = new DiffGenerator ();
			gen.CurrentStatusAdaptor = new ActionDiffAdaptor (prj);
			XmlDiffAdaptor xad = new XmlDiffAdaptor ();
			xad.ChildElementName = "action-group";
			xad.ProcessProperties = false;
			xad.ChildAdaptor = new XmlDiffAdaptor ();
			xad.ChildAdaptor.ChildElementName = "action";
			gen.NewStatusAdaptor = xad;
			return gen;
		}
Ejemplo n.º 3
0
		DiffGenerator GetDiffGenerator ()
		{
			DiffGenerator gen = new DiffGenerator ();
			gen.CurrentStatusAdaptor = new ActionDiffAdaptor (Project);
			XmlDiffAdaptor xad = new XmlDiffAdaptor ();
			xad.ChildElementName = "action";
			gen.NewStatusAdaptor = xad;
			return gen;
		}