mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Program plugin fully on stylecop (#5964)
This commit is contained in:
@@ -9,12 +9,11 @@ using System.Windows.Markup;
|
||||
|
||||
namespace Microsoft.Plugin.Program
|
||||
{
|
||||
public class SuffixesConvert : MarkupExtension, IValueConverter
|
||||
public class SuffixesConverter : MarkupExtension, IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
var text = value as string[];
|
||||
if (text != null)
|
||||
if (value is string[] text)
|
||||
{
|
||||
return string.Join(";", text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user