protected override ProjectNode CreateProject() { var project = new ApplicationProjectNode( Package ); var serviceProvider = ( IServiceProvider )this.Package; var oleService = ( IOleServiceProvider )serviceProvider.GetService( typeof( IOleServiceProvider ) ); project.SetSite( oleService ); return project; }
/// <summary> /// Create the application project /// </summary> /// <returns>Application project node</returns> protected override ProjectNode CreateProject() { var project = new ApplicationProjectNode( Package ); // TODO: Maybe explain what the IOleServiceProvider does here. // Now we're just using it because the samples said so. :p var serviceProvider = ( IServiceProvider )this.Package; var oleService = ( IOleServiceProvider )serviceProvider.GetService( typeof( IOleServiceProvider ) ); project.SetSite( oleService ); return project; }
/// <summary> /// Create the application project /// </summary> /// <returns>Application project node</returns> protected override ProjectNode CreateProject() { var project = new ApplicationProjectNode(Package); // TODO: Maybe explain what the IOleServiceProvider does here. // Now we're just using it because the samples said so. :p var serviceProvider = ( IServiceProvider )this.Package; var oleService = ( IOleServiceProvider )serviceProvider.GetService(typeof(IOleServiceProvider)); project.SetSite(oleService); return(project); }
public ApplicationConfig( ApplicationProjectNode project, string config ) : base(project, config) { this.project = project; }
public ApplicationReferenceContainerNode( ApplicationProjectNode project ) : base(project) { }
public ApplicationReferenceContainerNode(ApplicationProjectNode project) : base(project) { }
public ApplicationFileNode( ApplicationProjectNode project, ProjectElement item ) : base(project, item) { }
public ApplicationConfigProvider(ApplicationProjectNode project) : base(project) { this.project = project; }
public ApplicationFileNode(ApplicationProjectNode project, ProjectElement item) : base(project, item) { }
public ApplicationConfigProvider( ApplicationProjectNode project ) : base(project) { this.project = project; }
public ApplicationConfig(ApplicationProjectNode project, string config) : base(project, config) { this.project = project; }