Esempio n. 1
0
 /// <summary>
 /// Create new instance of the class
 /// </summary>
 /// <returns>Data instance</returns>
 static public ActivityData <T> Instance()
 {
     if (_selfData == null)
     {
         _selfData = new ActivityData <T>();
     }
     return(_selfData);
 }
Esempio n. 2
0
 /// <summary>
 /// Create new instance of the class
 /// </summary>
 /// <returns>Data instance</returns>
 public static ActivityData Instance()
 {
     if( _selfData == null )
     {
         _selfData = new ActivityData();
     }
     return _selfData;
 }