Пример #1
0
 public static LastNamePropertyType GetInstance()
 {
     if (_instance == null)
     {
         _instance = new LastNamePropertyType();
     }
     return(_instance);
 }
 public IEnumerable <IProperty> GetProperties()
 {
     if (properties == null)
     {
         properties = new List <IProperty>
         {
             ActorIdPropertyType.GetInstance(),
                 BirthDatePropertyType.GetInstance(),
                 LastNamePropertyType.GetInstance(),
                 NamePropertyType.GetInstance(),
         };
     }
     return(properties);
 }