seb-win-refactoring/SafeExamBrowser.Contracts/Configuration/IIconResource.cs

30 lines
814 B
C#

/*
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
namespace SafeExamBrowser.Contracts.Configuration
{
public interface IIconResource
{
/// <summary>
/// The <c>Uri</c> pointing to the icon.
/// </summary>
Uri Uri { get; }
/// <summary>
/// Indicates whether the icon resource consists of a bitmap image (i.e. raster graphics).
/// </summary>
bool IsBitmapResource { get; }
/// <summary>
/// Indicates whether the icon resource consists of XAML markup (i.e. vector graphics).
/// </summary>
bool IsXamlResource { get; }
}
}