Skip to content

Commit 39b48eb

Browse files
committed
Add WarmupType comments.
1 parent 405b391 commit 39b48eb

File tree

2 files changed

+26
-0
lines changed
  • src
    • UnityMvvmToolkit.Core/Enums
    • UnityMvvmToolkit.UnityPackage/Assets/Plugins/UnityMvvmToolkit/Runtime/Core/Enums

2 files changed

+26
-0
lines changed

src/UnityMvvmToolkit.Core/Enums/WarmupType.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22
{
33
public enum WarmupType
44
{
5+
/// <summary>
6+
/// Use this type if you don't specify a converter in the view.
7+
/// <example>command="PrintIntParameterCommand, 5"</example>
8+
/// </summary>
59
OnlyByType,
10+
11+
/// <summary>
12+
/// Use this type if you specify a converter in the view.
13+
/// <example>command="PrintIntParameterCommand, 5, ParameterToIntConverter"</example>
14+
/// </summary>
615
OnlyByName,
16+
17+
/// <summary>
18+
/// Use this type to cover <see cref="OnlyByType"/> and <see cref="OnlyByName"/> scenarios.
19+
/// </summary>
720
ByTypeAndName
821
}
922
}

src/UnityMvvmToolkit.UnityPackage/Assets/Plugins/UnityMvvmToolkit/Runtime/Core/Enums/WarmupType.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22
{
33
public enum WarmupType
44
{
5+
/// <summary>
6+
/// Use this type if you don't specify a converter in the view.
7+
/// <example>command="PrintIntParameterCommand, 5"</example>
8+
/// </summary>
59
OnlyByType,
10+
11+
/// <summary>
12+
/// Use this type if you specify a converter in the view.
13+
/// <example>command="PrintIntParameterCommand, 5, ParameterToIntConverter"</example>
14+
/// </summary>
615
OnlyByName,
16+
17+
/// <summary>
18+
/// Use this type to cover <see cref="OnlyByType"/> and <see cref="OnlyByName"/> scenarios.
19+
/// </summary>
720
ByTypeAndName
821
}
922
}

0 commit comments

Comments
 (0)