Separate version

This commit is contained in:
NaBian committed 2019-01-21 11:12:38 +08:00
1 parent a2574dc955
commit db61ae9567
587 files changed
+44639 -657

No files matched your search

@@ -0,0 +1,58 @@
using System.ComponentModel;
using System.Globalization;
using System.Resources;
namespace HandyControl.Interactivity
{
internal class ExceptionStringTable
{
private static ResourceManager ResourceMan;
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static ResourceManager ResourceManager => ResourceMan ?? (ResourceMan = new ResourceManager(nameof(ExceptionStringTable),
typeof(ExceptionStringTable).Assembly));
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static CultureInfo Culture { get; set; }
internal static string CannotHostBehaviorCollectionMultipleTimesExceptionMessage =>
ResourceManager.GetString(nameof(CannotHostBehaviorCollectionMultipleTimesExceptionMessage), Culture);
internal static string CannotHostBehaviorMultipleTimesExceptionMessage =>
ResourceManager.GetString(nameof(CannotHostBehaviorMultipleTimesExceptionMessage), Culture);
internal static string CannotHostTriggerActionMultipleTimesExceptionMessage =>
ResourceManager.GetString(nameof(CannotHostTriggerActionMultipleTimesExceptionMessage), Culture);
internal static string CannotHostTriggerCollectionMultipleTimesExceptionMessage =>
ResourceManager.GetString(nameof(CannotHostTriggerCollectionMultipleTimesExceptionMessage), Culture);
internal static string CannotHostTriggerMultipleTimesExceptionMessage =>
ResourceManager.GetString(nameof(CannotHostTriggerMultipleTimesExceptionMessage), Culture);
internal static string CommandDoesNotExistOnBehaviorWarningMessage =>
ResourceManager.GetString(nameof(CommandDoesNotExistOnBehaviorWarningMessage), Culture);
internal static string DefaultTriggerAttributeInvalidTriggerTypeSpecifiedExceptionMessage =>
ResourceManager.GetString(nameof(DefaultTriggerAttributeInvalidTriggerTypeSpecifiedExceptionMessage),
Culture);
internal static string DuplicateItemInCollectionExceptionMessage =>
ResourceManager.GetString(nameof(DuplicateItemInCollectionExceptionMessage), Culture);
internal static string EventTriggerBaseInvalidEventExceptionMessage =>
ResourceManager.GetString(nameof(EventTriggerBaseInvalidEventExceptionMessage), Culture);
internal static string EventTriggerCannotFindEventNameExceptionMessage =>
ResourceManager.GetString(nameof(EventTriggerCannotFindEventNameExceptionMessage), Culture);
internal static string RetargetedTypeConstraintViolatedExceptionMessage =>
ResourceManager.GetString(nameof(RetargetedTypeConstraintViolatedExceptionMessage), Culture);
internal static string TypeConstraintViolatedExceptionMessage =>
ResourceManager.GetString(nameof(TypeConstraintViolatedExceptionMessage), Culture);
internal static string UnableToResolveTargetNameWarningMessage =>
ResourceManager.GetString(nameof(UnableToResolveTargetNameWarningMessage), Culture);
}
}