[NUI] Remove build warning - CA1055 (#2338)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 15 Dec 2020 03:23:05 +0000 (12:23 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 15 Dec 2020 06:33:59 +0000 (15:33 +0900)
CA1055: URI return values should not be strings
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1055

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
src/Tizen.NUI/src/public/Capture.cs

index aa39654..a58caaf 100755 (executable)
@@ -333,20 +333,6 @@ namespace Tizen.NUI
             Tizen.Log.Debug("NUI", $"GetNativeImageSource()");
             return new NativeImageSource(Interop.Capture.GetNativeImageSourcePtr(swigCPtr), true);
         }
-
-        /// <summary>
-        /// Generate captured image's Url
-        /// </summary>
-        /// <returns>The Url string representing this captured image source</returns>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public string GenerateUrl()
-        {
-            string url = "";
-            url = Interop.Capture.GenerateUrl(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return url;
-        }
-
     }
 
     /// <summary>