Skip to content

Commit

Permalink
Finish cs-language-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
bcssov committed Feb 25, 2024
2 parents 6a68e48 + 8a51da1 commit 2682689
Show file tree
Hide file tree
Showing 39 changed files with 2,118 additions and 1,821 deletions.
11 changes: 10 additions & 1 deletion src/IronyModManager.IO.Common/Mods/IModPatchExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
// Created : 03-31-2020
//
// Last Modified By : Mario
// Last Modified On : 03-06-2022
// Last Modified On : 02-25-2024
// ***********************************************************************
// <copyright file="IModPatchExporter.cs" company="Mario">
// Mario
// </copyright>
// <summary></summary>
// ***********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IronyModManager.IO.Common.Mods.Models;

Expand All @@ -39,6 +41,13 @@ public interface IModPatchExporter
/// <returns>Task&lt;System.Boolean&gt;.</returns>
Task<bool> ExportDefinitionAsync(ModPatchExporterParameters parameters);

/// <summary>
/// Gets an allowed languages async.
/// </summary>
/// <param name="parameters">The parameters.</param>
/// <returns>A Task containing IReadOnlyCollection of strings.<see cref="Task{IReadOnlyCollection{string}}"/></returns>
Task<IReadOnlyCollection<string>> GetAllowedLanguagesAsync(ModPatchExporterParameters parameters);

/// <summary>
/// Gets the patch files.
/// </summary>
Expand Down
12 changes: 11 additions & 1 deletion src/IronyModManager.IO.Common/Mods/ModPatchExporterParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
// Created : 04-02-2020
//
// Last Modified By : Mario
// Last Modified On : 11-01-2021
// Last Modified On : 02-25-2024
// ***********************************************************************
// <copyright file="ModPatchExporterParameters.cs" company="Mario">
// Mario
// </copyright>
// <summary></summary>
// ***********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using IronyModManager.Shared;
using IronyModManager.Shared.Models;

Expand All @@ -26,6 +28,14 @@ public class ModPatchExporterParameters
{
#region Properties

/// <summary>
/// Gets or sets a value representing the allowed languages.<see cref="System.Collections.Generic.IEnumerable{string}"/>
/// </summary>
/// <value>
/// The allowed languages.
/// </value>
public IEnumerable<string> AllowedLanguages { get; set; }

/// <summary>
/// Gets or sets the conflicts.
/// </summary>
Expand Down
14 changes: 13 additions & 1 deletion src/IronyModManager.IO.Common/Mods/Models/IPatchState.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// ***********************************************************************

// ***********************************************************************
// Assembly : IronyModManager.IO.Common
// Author : Mario
// Created : 04-06-2020
Expand All @@ -11,19 +12,30 @@
// </copyright>
// <summary></summary>
// ***********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using IronyModManager.Shared.Models;

namespace IronyModManager.IO.Common.Mods.Models
{

/// <summary>
/// Interface IPatchState
/// </summary>
public interface IPatchState
{
#region Properties

/// <summary>
/// Gets or sets a value representing the allowed languages.<see cref="System.Collections.Generic.IEnumerable{string}"/>
/// </summary>
/// <value>
/// The allowed languages.
/// </value>
IEnumerable<string> AllowedLanguages { get; set; }

/// <summary>
/// Gets or sets the conflict history.
/// </summary>
Expand Down
Loading

0 comments on commit 2682689

Please sign in to comment.