mono: merge namespaces in manual bindings
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 24 Oct 2019 15:18:44 +0000 (17:18 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:38 +0000 (11:20 +0900)
Summary:
It will enhance readability.
Before
```
namespace Efl {
namespace Eo {
```

After
```
namespace Efl.Eo {
```

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10466

src/bindings/mono/efl_mono/ItemFactory.cs
src/bindings/mono/efl_mono/efl_csharp_application.cs
src/bindings/mono/eo_mono/FunctionWrapper.cs
src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs
src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs
src/bindings/mono/eo_mono/NativeModule.cs
src/bindings/mono/eo_mono/NativeModule_Unix.cs
src/bindings/mono/eo_mono/NativeModule_Windows.cs
src/bindings/mono/eo_mono/WrapperSupervisor.cs

index be429fd..34791e1 100644 (file)
@@ -6,7 +6,8 @@ using System.Collections.Generic;
 using System.Linq;
 using System.ComponentModel;
 
-namespace Efl { namespace Ui {
+namespace Efl.Ui
+{
 
 /// <summary>Helper factory class. Makes use of C# extension methods for easier property binding.
 ///
@@ -26,6 +27,6 @@ public class ItemFactory<T> : Efl.Ui.LayoutFactory, IDisposable
     }
 }
 
-} }
+}
 
 #endif
index c7793f6..533fbe8 100644 (file)
@@ -18,10 +18,7 @@ using System.Runtime.InteropServices;
 using System.Threading;
 using static Efl.UnsafeNativeMethods;
 
-namespace Efl
-{
-
-namespace Csharp
+namespace Efl.Csharp
 {
 
 /// <summary>The components to be initialized.
@@ -208,5 +205,3 @@ public abstract class Application
 }
 
 }
-
-}
index 2f84a9a..a0c8bd8 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 ///<summary>Class to load functions pointers from a native module.
@@ -170,5 +167,3 @@ public class FunctionLoadResult<T>
 }
 
 }
-
-}
index dbafd6d..09d8d3e 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 public static partial class FunctionInterop
@@ -41,5 +38,3 @@ public static partial class FunctionInterop
 }
 
 }
-
-}
index d999afd..34d69bd 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 public static partial class FunctionInterop
@@ -32,5 +29,3 @@ public static partial class FunctionInterop
 }
 
 }
-
-}
index 7b61233..fd3b315 100644 (file)
  */
 using System;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 ///<summary>Wraps a native module that was opened with dlopen/LoadLibrary.</summary>
@@ -55,5 +52,3 @@ public partial class NativeModule : IDisposable
 }
 
 }
-
-}
index cf21fec..1e5a517 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 public partial class NativeModule
@@ -85,5 +82,3 @@ public partial class NativeModule
 }
 
 }
-
-}
index ec0b8e6..bbd3c7f 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 public class partial NativeModule
@@ -29,5 +26,3 @@ public class partial NativeModule
 }
 
 }
-
-}
index c51fff9..d50cd76 100644 (file)
 using System;
 using EventDictionary = System.Collections.Generic.Dictionary<(System.IntPtr desc, object evtDelegate), (System.IntPtr evtCallerPtr, Efl.EventCb evtCaller)>;
 
-namespace Efl
-{
-
-namespace Eo
+namespace Efl.Eo
 {
 
 /// <summary>Observe the ownership state  of an Eo wrapper and control its life-cycle.</summary>
@@ -75,5 +72,3 @@ public class WrapperSupervisor
 
 }
 
-}
-