/// <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);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return new Uri(url);
+ string uri = "";
+ uri = Interop.NativeImageSource.GenerateUrl(this.swigCPtr.Handle);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
+ return new Uri(uri);
}
}