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

View File

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

View File

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