Пример #1
0
 static void UseFactory()
 {
     Int16          i16 = 1;
     Int32          i32 = 1;
     dbus_primitive p1  = dbus_primitive.Create(i16);
     dbus_primitive p2  = dbus_primitive.Create(i32);
     dbus_primitive p3  = dbus_primitive.Create(1);
 }
Пример #2
0
 static void CastToContainer()
 {
     dbus_primitive dpi32 = dbus_primitive.Create(1);
     Int32          i32   = dpi32.DbusInt32;
 }