init
This commit is contained in:
		@@ -0,0 +1,21 @@
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Resources;
 | 
			
		||||
 | 
			
		||||
namespace Kreta.BusinessLogic.HelperClasses.NemzetisegiDokumentumokCOs
 | 
			
		||||
{
 | 
			
		||||
    public abstract class NemzetisegiBaseTextCo
 | 
			
		||||
    {
 | 
			
		||||
        public NemzetisegiBaseTextCo(ResourceSet resourceSet)
 | 
			
		||||
        {
 | 
			
		||||
            TextsFromResource(resourceSet);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void TextsFromResource(ResourceSet resourceSet)
 | 
			
		||||
        {
 | 
			
		||||
            foreach (var pi in GetType().GetProperties().Where(p => p.Name.EndsWith("Text")))
 | 
			
		||||
            {
 | 
			
		||||
                pi.SetValue(this, resourceSet.GetString(pi.Name));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,51 @@
 | 
			
		||||
using System.Resources;
 | 
			
		||||
 | 
			
		||||
namespace Kreta.BusinessLogic.HelperClasses.NemzetisegiDokumentumokCOs
 | 
			
		||||
{
 | 
			
		||||
    public class NemzetisegiTorzslapTextCo : NemzetisegiBaseTextCo
 | 
			
		||||
    {
 | 
			
		||||
        public string SorszamText { get; set; }
 | 
			
		||||
        public string ATanuloText { get; set; }
 | 
			
		||||
        public string TorzslapSzamaText { get; set; }
 | 
			
		||||
        public string OsztalyozoNaploSorszamaText { get; set; }
 | 
			
		||||
        public string AllampolgarsagaText { get; set; }
 | 
			
		||||
        public string CsaladiEsUtoneveText { get; set; }
 | 
			
		||||
        public string AnyjaSzuletesiNeveText { get; set; }
 | 
			
		||||
        public string AzonositoSzamaText { get; set; }
 | 
			
		||||
        public string FeljegyzesekSzemelyiAdatokValtozasahozText { get; set; }
 | 
			
		||||
        public string SzuletesiHelyeText { get; set; }
 | 
			
		||||
        public string KozsegVarosText { get; set; }
 | 
			
		||||
        public string OrszagText { get; set; }
 | 
			
		||||
        public string SzulIdejeText { get; set; }
 | 
			
		||||
        public string TantargyakText { get; set; }
 | 
			
		||||
        public string TanevText { get; set; }
 | 
			
		||||
        public string EviOsszesOraszamText { get; set; }
 | 
			
		||||
        public string OsztalyzatText { get; set; }
 | 
			
		||||
        public string JegyzetekText { get; set; }
 | 
			
		||||
        public string MulasztottOrakSzamaText { get; set; }
 | 
			
		||||
        public string IgazoltText { get; set; }
 | 
			
		||||
        public string IgazolatlanText { get; set; }
 | 
			
		||||
        public string ANevelotestuletHatarozataText { get; set; }
 | 
			
		||||
        public string JavitovizsgatKotelesTenniText { get; set; }
 | 
			
		||||
        public string FeljegyzesekText { get; set; }
 | 
			
		||||
        public string OsztalyText { get; set; }
 | 
			
		||||
        public string OsszesText { get; set; }
 | 
			
		||||
        public string EvfolyamaText { get; set; }
 | 
			
		||||
        public string TorvenyesKepviseloText { get; set; }
 | 
			
		||||
        public string FelmentesekText { get; set; }
 | 
			
		||||
        public string SNIAdatokText { get; set; }
 | 
			
		||||
        public string SzakertoiBizottsagNeveCimeText { get; set; }
 | 
			
		||||
        public string SzakvelemenySzamaText { get; set; }
 | 
			
		||||
        public string KiallitasKelteText { get; set; }
 | 
			
		||||
        public string FelulvizsgalatIdopontjaText { get; set; }
 | 
			
		||||
        public string KozossegiSzolgalattalKapcsolatosBejegyzesekText { get; set; }
 | 
			
		||||
        public string OkjText { get; set; }
 | 
			
		||||
        public string OraText { get; set; }
 | 
			
		||||
 | 
			
		||||
        public NemzetisegiTorzslapTextCo(ResourceSet resourceSet)
 | 
			
		||||
            : base(resourceSet)
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user