seb-win-refactoring/SafeExamBrowser.Configuration/AboutNotificationInfo.cs
2017-07-20 14:16:47 +02:00

26 lines
737 B
C#

/*
* Copyright (c) 2017 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 SafeExamBrowser.Contracts.Configuration;
using SafeExamBrowser.Contracts.I18n;
namespace SafeExamBrowser.Configuration
{
public class AboutNotificationInfo : INotificationInfo
{
private IText text;
public string Tooltip => text.Get(Key.Notification_AboutTooltip);
public IIconResource IconResource { get; } = new AboutNotificationIconResource();
public AboutNotificationInfo(IText text)
{
this.text = text;
}
}
}