Exemplo n.º 1
0
        /// <summary>
        /// Converts the current PageInfo to a string.
        /// </summary>
        /// <returns>The string.</returns>
        public override string ToString()
        {
            string result = NameTools.GetFullName(nspace, name);

            result += " [" + Provider.Information.Name + "]";
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Gets a string representation of the current object.
 /// </summary>
 /// <returns>The string representation.</returns>
 public override string ToString()
 {
     return(NameTools.GetFullName(_nSpace, _name));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:CategoryInfo" /> class.
 /// </summary>
 /// <param name="fullName">The Full Name of the Category.</param>
 /// <param name="provider">The Storage that manages the category.</param>
 public CategoryInfo(string fullName, IPagesStorageProviderV30 provider)
 {
     NameTools.ExpandFullName(fullName, out _nSpace, out _name);
     Provider = provider;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <b>NavigationPath</b> class.
 /// </summary>
 /// <param name="fullName">The Full Name of the Navigation Path.</param>
 /// <param name="provider">The Provider</param>
 public NavigationPath(string fullName, IPagesStorageProviderV30 provider)
 {
     NameTools.ExpandFullName(fullName, out nspace, out name);
     Provider = provider;
     Pages    = new string[0];
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:PageInfo" /> class.
 /// </summary>
 /// <param name="fullName">The Full Name of the Page.</param>
 /// <param name="provider">The Pages Storage Provider that manages this Page.</param>
 /// <param name="creationDateTime">The Page creation Date/Time.</param>
 public PageInfo(string fullName, IPagesStorageProviderV30 provider, DateTime creationDateTime)
 {
     NameTools.ExpandFullName(fullName, out nspace, out name);
     Provider         = provider;
     CreationDateTime = creationDateTime;
 }