コード例 #1
0
ファイル: Events.cs プロジェクト: AmarokPL/efl
        public static void event_with_uint_payload()
        {
            var  obj           = new Dummy.TestObject();
            uint received_uint = 0;

            obj.EvtWithUintEvent += (object sender, Dummy.TestObjectEvtWithUintEventArgs e) => {
                received_uint = e.arg;
            };

            obj.EmitEventWithUint(0xbeef);

            Test.AssertEquals <uint>(0xbeef, received_uint);
        }