public EnumTranslation <T>[] UpdateOrCreateEnumTranslation <T>(EnumTranslation <T>[] translation) where T : struct, IConvertible { if (translation == null || translation.Length == 0) { return(EnumTranslationFactory.CreateEnumTranslation <T>(TranslationSource)); } return(EnumTranslationFactory.UpdateEnumTranslation(TranslationSource, translation)); }
public static EnumTranslation <T>[] CreateDefaultEnumTranslation() { return(EnumTranslationFactory.CreateEnumTranslation <T>(null)); }
public EnumTranslation <T>[] CreateEnumTranslation <T>() where T : struct, IConvertible { return(EnumTranslationFactory.CreateEnumTranslation <T>(TranslationSource)); }