GetProfileList -> GetList

This commit is contained in:
RisaDev
2024-03-11 01:10:13 +03:00
parent 13976a9135
commit 37c2882a98
3 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ public partial class CustomizePlusIpc
/// When there are non-breaking changes only second number is bumped up.
/// In general clients should not try to use IPC if they encounter unexpected Breaking version.
/// </summary>
[EzIPC($"General.GetApiVersion")]
[EzIPC("General.GetApiVersion")]
private (int, int) GetApiVersion()
{
return _apiVersion;
@@ -29,7 +29,7 @@ public partial class CustomizePlusIpc
/// This only indicates that no fatal errors occured in Customize+.
/// This will still be true if, for example, user turns off Customize+ in its settings.
/// </summary>
[EzIPC($"General.IsValid")]
[EzIPC("General.IsValid")]
private bool IsValid()
{
return !IPCFailed &&

View File

@@ -14,7 +14,7 @@ public partial class CustomizePlusIpc
/// Retrieve list of all user profiles
/// </summary>
/// <returns></returns>
[EzIPC($"Profile.GetProfileList")]
[EzIPC("Profile.GetList")]
private IList<IPCProfileDataTuple> GetProfileList()
{
return _profileManager.Profiles
@@ -27,7 +27,7 @@ public partial class CustomizePlusIpc
/// Enable profile using its Unique ID
/// </summary>
/// <param name="uniqueId"></param>
[EzIPC($"Profile.EnableByUniqueId")]
[EzIPC("Profile.EnableByUniqueId")]
private void EnableProfileByUniqueId(Guid uniqueId)
{
_profileManager.SetEnabled(uniqueId, true);
@@ -36,7 +36,7 @@ public partial class CustomizePlusIpc
/// <summary>
/// Disable profile using its Unique ID
/// </summary>
[EzIPC($"Profile.DisableByUniqueId")]
[EzIPC("Profile.DisableByUniqueId")]
private void DisableProfileByUniqueId(Guid uniqueId)
{
_profileManager.SetEnabled(uniqueId, false);

View File

@@ -35,7 +35,7 @@ public class IPCTestTab //: IDisposable
[EzIPC("General.IsValid")]
private readonly Func<bool> _isValidIpcFunc;
[EzIPC("Profile.GetProfileList")]
[EzIPC("Profile.GetList")]
private readonly Func<IList<IPCProfileDataTuple>> _getProfileListIpcFunc;
[EzIPC("Profile.EnableByUniqueId")]