/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Tools/SDK-Analyzers/Components/test/ComponentsTestDeclarations.cs
25 строк
699 B
Pranav K
Fork component analyzers (#39796)
29 янв 2022, 03:20
Не верифицирован
29 янв 2022, 03:20
112a0de
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Components.Analyzers; public static class ComponentsTestDeclarations { public static readonly string Source = $@" namespace {typeof(ParameterAttribute).Namespace} {{ public class {typeof(ParameterAttribute).Name} : System.Attribute {{ public bool CaptureUnmatchedValues {{ get; set; }} }} public class {typeof(CascadingParameterAttribute).Name} : System.Attribute {{ }} public interface {typeof(IComponent).Name} {{ }} }} "; }