예제 #1
0
 protected static void ReceiveNewValueFromA_6(int newValue, int oldValue, string senderName, Test3 obj, MemberTypes type)
 {
 }
예제 #2
0
        private static void Main(string[] args)
        {
            var xml = XmlDocumentFactory.Parse(@"<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>
<verzeichnis x:a=""12"" xmlns:x=""http://www.w3.org/1999/xhtml"">
     <titel>Wikipedia Städteverzeichnis</titel>
     <eintrag>
          <stichwort>Genf</stichwort>
          <eintragstext>Genf ist der Sitz von ...</eintragstext>
     </eintrag>
     <eintrag>
          <stichwort>Köln</stichwort>
          <eintragstext>Köln ist eine Stadt, die ...</eintragstext>
     </eintrag>
</verzeichnis>");

            var xml2 = new XmlDocument();

            xml2.LoadXml(xml.ToString());

            foreach (var e in xml.Elements())
            {
                foreach (var a in e.Attributes())
                {
                }

                foreach (var n2 in e)
                {
                }
            }

            var r  = new CryptoRandom();
            var rv = r.Next(-1000, 1000);

            ObjectFactory of = ObjectFactory.Instance;

            var obj = of.CreateProxyForInterface <ITest>();

            dynamic dynObj = obj;

            dynObj.IchBinEinKunterbuntesProperty  = true;
            dynObj.IchBinEinKunterbuntesProperty2 = "TM";

            if (obj != null)
            {
            }

            var workflow = DelegateWorkflow.Create(Station_A1);

            var t2 = new Test2();

            var t3 = new Test3();

            t3.A = 5979;
            t3.A = 5979;
            t3.A = 23979;

            var workflow2 = AttributeWorkflow.Create(t2);

            var aggWF = new AggregateWorkflow();

            aggWF.Add(workflow);
            aggWF.Add(workflow2);

            aggWF.Execute();
        }