示例#1
0
 public TLCCCElement(string naam, int instelling, TLCCCElementTimeTypeEnum ttype, TLCCCElementTypeEnum type)
 {
     Dummy      = false;
     Naam       = naam;
     Define     = TLCCCGeneratorSettingsProvider.Default.GetPrefix(type) + naam;
     Instelling = instelling;
     TType      = ttype;
     Type       = type;
 }
示例#2
0
 public TLCCCElement(string naam, TLCCCElementTypeEnum type)
 {
     Dummy  = false;
     Naam   = naam;
     Define = TLCCCGeneratorSettingsProvider.Default.GetPrefix(type) + naam;
     Type   = type;
     switch (Type)
     {
     default:
         TType = TLCCCElementTimeTypeEnum.None;
         break;
     }
 }
示例#3
0
 public string GetPrefix(TLCCCElementTypeEnum type)
 {
     return(Settings.Prefixes.Any(x => x.Type == type) ? Settings.Prefixes.First(x => x.Type == type).Setting : null);
 }