Ejemplo n.º 1
0
		protected override ProjectBehavior GetOrCreateBehavior()
		{
			// don't add behaviors from AddIn-Tree to UnknownProject
			lock (SyncRoot) {
				if (projectBehavior == null)
					projectBehavior = new DefaultProjectBehavior(this);
				return projectBehavior;
			}
		}
Ejemplo n.º 2
0
 protected override ProjectBehavior GetOrCreateBehavior()
 {
     // don't add behaviors from AddIn-Tree to UnknownProject
     lock (SyncRoot) {
         if (projectBehavior == null)
         {
             projectBehavior = new DefaultProjectBehavior(this);
         }
         return(projectBehavior);
     }
 }