/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.Core.SourceGenerator/Data/ParserItem.cs
35 строк
889 B
Yair
Code Quality: Updated license header
31 дек 2024, 05:03
31 дек 2024, 05:03
8436c6d
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. namespace Files.Core.SourceGenerator.Data { /// <summary> /// Represents an item used for parsing data. /// </summary> internal class ParserItem { /// <summary> /// Gets or sets the key of the item. /// </summary> /// <remarks> /// This property is required and cannot be null or empty. /// </remarks> internal required string Key { get; set; } = default!; /// <summary> /// Gets or sets the value of the item. /// </summary> /// <remarks> /// The default value is an empty string. /// </remarks> internal string Value { get; set; } = string.Empty; /// <summary> /// Gets or sets the comment associated with the item. /// </summary> /// <remarks> /// The default value is null, indicating no comment. /// </remarks> internal string? Comment { get; set; } = null; } }