csharp: Make examples build again.

Summary: OnInitialize changed signature in D9178

Reviewers: vitor.sousa, segfaultxavi

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D9213
This commit is contained in:
Lauro Moura 2019-06-28 19:46:12 -03:00 committed by Vitor Sousa
parent a49641d9b4
commit 9ed9d94501
18 changed files with 18 additions and 18 deletions

View File

@ -35,7 +35,7 @@ public class LifeWindow : Efl.Csharp.Application
lifeBoard.TogglePause(win);
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
win = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
win.SetText("EFL Life");

View File

@ -151,7 +151,7 @@ public class TextEditor : Efl.Csharp.Application
}
// Builds the user interface for the text editor
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
win = new Efl.Ui.Win(parent: Efl.App.AppMain);

View File

@ -15,7 +15,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine(" Poll from {0}", ((Efl.Object)sender).GetName());
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;

View File

@ -11,7 +11,7 @@ using System;
public class Example : Efl.Csharp.Application
{
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;

View File

@ -10,7 +10,7 @@ using System;
public class Example : Efl.Csharp.Application
{
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;

View File

@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
return true;
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
var array = CreateArray();

View File

@ -117,7 +117,7 @@ public class Example : Efl.Csharp.Application
phone_book.Dispose();
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
HashDemo();
PhonebookDemo();

View File

@ -55,7 +55,7 @@ public class Example : Efl.Csharp.Application
return list;
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create an Eina.Array and iterate through its contents
var array = CreateArray();

View File

@ -23,7 +23,7 @@ public class Example : Efl.Csharp.Application
return list;
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
var list = CreateList();

View File

@ -48,7 +48,7 @@ public class Example : Efl.Csharp.Application
Divides();
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
LogLevels();

View File

@ -47,7 +47,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine("str_val was \"{0}\", converted to int is {1}", str_val, int_val);
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
ValueInt();
Console.WriteLine("");

View File

@ -7,7 +7,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine($"Focus for object {((Efl.IText)sender).GetText()} changed to {((Efl.Ui.Widget)sender).GetFocus()}");
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
var win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);

View File

@ -57,7 +57,7 @@ public class Example : Efl.Csharp.Application
return table;
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);

View File

@ -30,7 +30,7 @@ public class MyButton : Efl.Ui.Button
public class Example : Efl.Csharp.Application
{
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);

View File

@ -10,7 +10,7 @@ using System;
public class Example : Efl.Csharp.Application
{
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);

View File

@ -32,7 +32,7 @@ public class Example : Efl.Csharp.Application
child2.Dispose();
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create all objects
ObjCreate();

View File

@ -10,7 +10,7 @@ public class Example : Efl.Csharp.Application
Efl.App.AppMain.Quit(0);
}
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);

View File

@ -2,7 +2,7 @@ using System;
public class Example : Efl.Csharp.Application
{
protected override void OnInitialize(Eina.Array<System.String> args)
protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);