2020-07-07 23:46:16 +02:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
namespace TerminalApp
|
|
|
|
{
|
|
|
|
// See https://docs.microsoft.com/en-us/windows/uwp/data-binding/data-binding-quickstart
|
|
|
|
|
|
|
|
// We use the default attribute to declare IValueConverter as the default
|
2020-08-18 21:32:17 +02:00
|
|
|
// interface. In the listing, EmptyStringVisibilityConverter has only a
|
2020-07-07 23:46:16 +02:00
|
|
|
// constructor, and no methods, so no default interface is generated for it.
|
|
|
|
// The default attribute is optimal if you won't be adding instance members
|
2020-08-18 21:32:17 +02:00
|
|
|
// to EmptyStringVisibilityConverter, because no QueryInterface will be
|
2020-07-07 23:46:16 +02:00
|
|
|
// required to call the IValueConverter methods
|
2020-08-18 21:32:17 +02:00
|
|
|
runtimeclass EmptyStringVisibilityConverter : [default] Windows.UI.Xaml.Data.IValueConverter
|
2020-07-07 23:46:16 +02:00
|
|
|
{
|
2020-08-18 21:32:17 +02:00
|
|
|
EmptyStringVisibilityConverter();
|
2020-07-07 23:46:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|