protected internal TranslationBase(Type type, TranslationProfile translationProfile, TranslationSettings translationSettings) { if (string.IsNullOrEmpty(translationSettings.TranslationName)) { translationSettings.TranslationName = type.BuildFormattedName(); } this.TranslationProfile = translationProfile; this.TranslationSettings = translationSettings; this.TraversedGenericArguments = type.GetTraversedGenericTypes().ToList(); this.ColumnConfigurations = new List <NonIdentityColumnConfiguration>(); this.TypeInfo = type.GetTypeInfo(); this.TranslationUniqueIdentifier = TranslationUniqueIdentifier.GetInstance(this); }
internal Translation(Type type, TranslationProfile translationProfile, TranslationSettings translationSettings) : base(type, translationProfile, translationSettings) { }