Пример #1
0
 /// <summary>
 /// Возвращает версию объекта
 /// </summary>
 /// <param name="code"></param>
 /// <param name="objectType"></param>
 /// <returns></returns>
 public DateTime GetVersion(string code, WikiObjectType objectType)
 {
     CheckPersister();
     if (objectType == WikiObjectType.File)
     {
         return(Persister.GetBinaryVersion(code));
     }
     return(Persister.GetPageVersion(code));
 }