Exemplo n.º 1
0
 /// <summary>
 /// Publishes a file or directory.
 /// </summary>
 /// <param name="nameSpace">The name space.</param>
 /// <param name="name">The name.</param>
 /// <remarks>Uses the name of the directory of file as the publishing name.
 /// Used when you want to publish file/directory already in the Cache folder.
 /// </remarks>
 void Publish(string nameSpace, string name, bool unique)
 {
     if (unique)
     {
         _manager.PublishData(nameSpace, name);
     }
     else
     {
         _manager.UpdateData(nameSpace, name);
     }
 }