[TCSACR-58] Rename properties with camel case
authorchanywa <cbible.kim@samsung.com>
Mon, 19 Jun 2017 10:31:27 +0000 (19:31 +0900)
committerchanywa <cbible.kim@samsung.com>
Mon, 10 Jul 2017 08:03:28 +0000 (17:03 +0900)
Change-Id: I06bc52a488ccd07ab01cefc2935c26f5987a378c

packaging/csapi-maps.spec
src/Tizen.Maps/Interop/Interop.Address.cs
src/Tizen.Maps/Interop/Interop.Service.cs
src/Tizen.Maps/Interop/Interop.View.cs
src/Tizen.Maps/Tizen.Maps.csproj
src/Tizen.Maps/Tizen.Maps/MapView.cs
src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs
src/Tizen.Maps/Tizen.Maps/ServiceData.cs
src/Tizen.Maps/Tizen.Maps/TransportMode.cs

index 471c98a..d2fed12 100644 (file)
@@ -1,6 +1,6 @@
 Name:       csapi-maps
 Summary:    Tizen Map Service API for C#
-Version:    1.0.13
+Version:    1.0.14
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0 and SAMSUNG
index 3612b57..90840c0 100755 (executable)
@@ -74,10 +74,10 @@ internal static partial class Interop
     internal static extern ErrorCode SetPostalCode(this AddressHandle /* maps_address_h */ address, string postalCode);
 
     [DllImport(Libraries.MapService, EntryPoint = "maps_address_get_freetext")]
-    internal static extern ErrorCode GetFreetext(this AddressHandle /* maps_address_h */ address, out string freetext);
+    internal static extern ErrorCode GetFreeText(this AddressHandle /* maps_address_h */ address, out string freetext);
 
     [DllImport(Libraries.MapService, EntryPoint = "maps_address_set_freetext")]
-    internal static extern ErrorCode SetFreetext(this AddressHandle /* maps_address_h */ address, string freetext);
+    internal static extern ErrorCode SetFreeText(this AddressHandle /* maps_address_h */ address, string freetext);
 
     internal class AddressHandle : SafeMapsHandle
     {
@@ -144,10 +144,10 @@ internal static partial class Interop
             set { NativeSet(this.SetPostalCode, value); }
         }
 
-        internal string Freetext
+        internal string FreeText
         {
-            get { return NativeGet(this.GetFreetext); }
-            set { NativeSet(this.SetFreetext, value); }
+            get { return NativeGet(this.GetFreeText); }
+            set { NativeSet(this.SetFreeText, value); }
         }
 
         internal AddressHandle(IntPtr handle, bool needToRelease) : base(handle, needToRelease, Destroy)
index b29fa1f..0cd154f 100755 (executable)
@@ -56,7 +56,7 @@ internal static partial class Interop
         ViewTraffic = 0x100, // MAPS_VIEW_TRAFFIC
         ViewPublicTransit, // MAPS_VIEW_PUBLIC_TRANSIT
         ViewBuilding, // MAPS_VIEW_BUILDING
-        ViewScalebar, // MAPS_VIEW_SCALEBAR
+        ViewScaleBar, // MAPS_VIEW_SCALEBAR
     }
 
 
index c50ffc1..c48224a 100755 (executable)
@@ -87,10 +87,10 @@ internal static partial class Interop
     internal static extern ErrorCode SetPublicTransitEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
 
     [DllImport(Libraries.MapService, EntryPoint = "maps_view_get_scalebar_enabled")]
-    internal static extern ErrorCode GetScalebarEnabled(this ViewHandle /* maps_view_h */ view, out bool enabled);
+    internal static extern ErrorCode GetScaleBarEnabled(this ViewHandle /* maps_view_h */ view, out bool enabled);
 
     [DllImport(Libraries.MapService, EntryPoint = "maps_view_set_scalebar_enabled")]
-    internal static extern ErrorCode SetScalebarEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
+    internal static extern ErrorCode SetScaleBarEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
 
     [DllImport(Libraries.MapService, EntryPoint = "maps_view_get_screen_location")]
     internal static extern ErrorCode GetScreenLocation(this ViewHandle /* maps_view_h */ view, out int x, out int y, out int width, out int height);
@@ -208,10 +208,10 @@ internal static partial class Interop
             get { return NativeGet<bool>(this.GetPublicTransitEnabled); }
             set { NativeSet(this.SetPublicTransitEnabled, value); }
         }
-        internal bool ScalebarEnabled
+        internal bool ScaleBarEnabled
         {
-            get { return NativeGet<bool>(this.GetScalebarEnabled); }
-            set { NativeSet(this.SetScalebarEnabled, value); }
+            get { return NativeGet<bool>(this.GetScaleBarEnabled); }
+            set { NativeSet(this.SetScaleBarEnabled, value); }
         }
 
         internal string Language
index 376f33d..46dc1d7 100644 (file)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <Version>1.0.13</Version>
+    <Version>1.0.14</Version>
     <Authors>Samsung Electronics</Authors>
     <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
     <Description>Map Services API for Tizen .NET</Description>
index 9b7c8c7..318874d 100755 (executable)
@@ -471,16 +471,16 @@ namespace Tizen.Maps
         /// <privilege>http://tizen.org/privilege/network.get</privilege>
         /// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
         /// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
-        public bool ScalebarEnabled
+        public bool ScaleBarEnabled
         {
             get
             {
-                return handle.ScalebarEnabled;
+                return handle.ScaleBarEnabled;
             }
             set
             {
                 Log.Info(string.Format("Showing the scale-bar is {0}", (value ? "enabled" : "disabled")));
-                handle.ScalebarEnabled = value;
+                handle.ScaleBarEnabled = value;
             }
         }
 
index a6a6136..657fce9 100755 (executable)
@@ -141,15 +141,15 @@ namespace Tizen.Maps
         /// Gets a free text associated with this address.
         /// </summary>
         /// <since_tizen>3</since_tizen>
-        public string Freetext
+        public string FreeText
         {
             get
             {
-                return handle.Freetext;
+                return handle.FreeText;
             }
             set
             {
-                handle.Freetext = value;
+                handle.FreeText = value;
             }
         }
 
@@ -208,7 +208,7 @@ namespace Tizen.Maps
         /// <returns>Returns a string which presents this object.</returns>
         public override string ToString()
         {
-            return $"{Freetext}";
+            return $"{FreeText}";
         }
 
         #region IDisposable Support
index 9378999..511a562 100755 (executable)
@@ -91,6 +91,6 @@ namespace Tizen.Maps
         /// <summary>
         /// Indicates availability of scale bar on the Map.
         /// </summary>
-        ViewScalebar = Interop.ServiceData.ViewScalebar,
+        ViewScaleBar = Interop.ServiceData.ViewScaleBar,
     }
 }
index 6bc958f..762e31e 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.Maps
         /// <summary>
         /// Indicates that route is to be traveled using public transport.
         /// </summary>
-        Publictransit = Interop.RouteTransportMode.PublicTransit,
+        PublicTransit = Interop.RouteTransportMode.PublicTransit,
         /// <summary>
         /// Indicates that route is for a truck.
         /// </summary>