/// <summary>
- /// Get URL from native image source.
+ /// Get URI from native image source.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public Uri Url
+ public Uri Uri
{
get
{
- string url = "";
- url = Interop.NativeImageSource.GenerateUrl(this.swigCPtr.Handle);
+ string uri = "";
+ uri = Interop.NativeImageSource.GenerateUrl(this.swigCPtr.Handle);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return new Uri(url);
+ return new Uri(uri);
}
}
}
/// <summary>
- /// Get URL from pixel data.
+ /// Get URI from pixel data.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public Uri Url
+ public Uri Uri
{
get
{
- string url = "";
- url = Interop.PixelData.GenerateUrl(this.swigCPtr.Handle);
+ string Uri = "";
+ Uri = Interop.PixelData.GenerateUrl(this.swigCPtr.Handle);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return new Uri(url);
+ return new Uri(Uri);
}
}
if (sender is Capture)
{
log.Debug(tag, $"sender is Capture \n");
- var url = capture.GetNativeImageSource().Url;
- capturedImage = new ImageView(url.AbsoluteUri);
- log.Debug(tag, $"url={url} \n");
+ var uri = capture.GetNativeImageSource().Uri;
+ capturedImage = new ImageView(uri.AbsoluteUri);
+ log.Debug(tag, $"url={uri} \n");
capturedImage.Size = new Size(510, 510);
capturedImage.Position = new Position(10, 10);