Program plugin fully on stylecop (#5964)

This commit is contained in:
Clint Rutkas
2020-08-14 12:46:23 -07:00
committed by GitHub
parent be5d58c849
commit e0a1b478a1
31 changed files with 361 additions and 279 deletions

View File

@@ -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);
}