sketch360/Source/Sketch360.XPlat.UWP/BaseUrl.cs

36 строки
967 B
C#
Исходник Постоянная ссылка Обычный вид История

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
2020-11-12 22:15:03 +03:00
using Xamarin.Forms;
[assembly: Dependency(typeof(Sketch360.XPlat.UWP.BaseUrl))]
namespace Sketch360.XPlat.UWP
{
/// <summary>
/// UWP Base URL
/// </summary>
public class BaseUrl : IBaseUrl
{
/// <summary>
/// Gets an appx package url scheme
/// </summary>
/// <returns>an appx url scheme</returns>
public string GetBase()
{
return "ms-appx-web:///html/";
}
/// <summary>
/// Gets the drawable image stream for UWP.
/// </summary>
/// <param name="filename">the filename</param>
/// <returns>a image stream</returns>
public Stream GetDrawableImageStream(string filename)
{
throw new System.NotImplementedException();
}
}
}