예제 #1
0
        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);
        }
예제 #2
0
 internal Translation(Type type, TranslationProfile translationProfile, TranslationSettings translationSettings)
     : base(type, translationProfile, translationSettings)
 {
 }