123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- 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 ??= 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);
- }
|