Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     BasicExample.Create();
     MultiplePagesExample.Create();
     MediaBoxExample.Create();
     MultipleTextObjectsExample.Create();
     MetadataExample.Create();
     ImageExample.Create();
 }
Ejemplo n.º 2
0
    void Start()
    {
        Il2cppWorkaround.Initialize();

        LogText.text = "";
        Log.OnLog    = OnLog;
        Log.WriteLine("Started!");

        BasicExample.Run();
        JsonExample.Run();
        ProtobufExample.Run();

        Log.WriteLine("**** OK ****");
    }
Ejemplo n.º 3
0
        static void BasicExample()
        {
            var result = new BasicExample().Start();

            Console.WriteLine("EmployeeIds: ");
            foreach (var one in result.EmployeeId)
            {
                Console.WriteLine($"Id: {one.Id}, Name: {one.Name}");
            }

            Console.WriteLine("CompaniesNames: ");
            foreach (var one in result.CompanyName)
            {
                Console.WriteLine($"Id: {one.Id}, Name: {one.Name}");
            }

            Console.WriteLine("Cities: ");
            foreach (var one in result.City)
            {
                Console.WriteLine($"Id: {one.Id}, Name: {one.Name}");
            }
        }
Ejemplo n.º 4
0
        public void MiniDotEntryPoint()
        {
            BasicExample example = new BasicExample();

            example.PrintNumbers();
        }