Example #1
0
 /// <summary>
 /// Returns the root Node of the Browser Tree.
 /// </summary>
 /// <returns></returns>
 public Node Browser()
 {
     if (browser == null)
     {
         lock (browserSyncRoot)
         {
             if (browser == null)
             {
                 browser = InitializeTree();
             }
         }
     }
     return(browser);
 }
Example #2
0
		/// <summary>
		/// Returns the root Node of the Browser Tree.
		/// </summary>
		/// <returns></returns>
		public Node Browser()
		{
			if (browser == null)
			{
				lock (browserSyncRoot)
				{
					if (browser == null)
					{
						browser = InitializeTree();
					}
				}
			}
			return browser;
		}