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
devs/lauromoura/cv
Lauro Moura 3 years ago committed by Vitor Sousa
parent a49641d9b4
commit 9ed9d94501
  1. 2
      apps/csharp/life/src/life_main.cs
  2. 2
      apps/csharp/texteditor/src/texteditor_main.cs
  3. 2
      reference/csharp/core/src/core_event.cs
  4. 2
      reference/csharp/core/src/core_idler.cs
  5. 2
      reference/csharp/core/src/core_poll.cs
  6. 2
      reference/csharp/eina/src/eina_array.cs
  7. 2
      reference/csharp/eina/src/eina_hash.cs
  8. 2
      reference/csharp/eina/src/eina_iterator.cs
  9. 2
      reference/csharp/eina/src/eina_list.cs
  10. 2
      reference/csharp/eina/src/eina_log.cs
  11. 2
      reference/csharp/eina/src/eina_value.cs
  12. 2
      reference/csharp/ui/src/focus_main.cs
  13. 2
      reference/csharp/ui/src/ui_container.cs
  14. 2
      reference/csharp/ui/src/ui_custom_widget.cs
  15. 2
      reference/csharp/ui/src/ui_sizing.cs
  16. 2
      tutorial/csharp/eo-intro/src/eo_intro_main.cs
  17. 2
      tutorial/csharp/hello-gui/src/gui_main.cs
  18. 2
      tutorial/csharp/hello-world/src/hello-world.cs

@ -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");

@ -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);

@ -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;

@ -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;

@ -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;

@ -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();

@ -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();

@ -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();

@ -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();

@ -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();

@ -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("");

@ -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);

@ -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);

@ -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);

@ -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);

@ -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();

@ -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);

@ -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);

Loading…
Cancel
Save