public CodeParameterImpl( [NotNull] DteImplementation implementation, [NotNull] CodeElementModel model, [CanBeNull] object parent ) : base(implementation, model, parent) { }
protected CodeTypeBase( [NotNull] DteImplementation implementation, [NotNull] CodeElementModel model, [CanBeNull] object parent ) : base(implementation, model, parent) { }
public object GetService(Type serviceType) { if (serviceType == typeof(DTE) || serviceType == typeof(DTE2)) { if (CachedDteImplementation != null) { return(CachedDteImplementation); } string rawPort = Environment.GetEnvironmentVariable("T4_ENVDTE_CLIENT_PORT"); if (rawPort == null) { return(null); } if (!int.TryParse(rawPort, out int port)) { return(null); } var manager = new ConnectionManager(Lifetime, port); var implementation = new DteImplementation(manager.Model); CachedDteImplementation = implementation; return(implementation); } return(null); }
public CodeClassImpl( [NotNull] DteImplementation implementation, [NotNull] CodeElementModel model, object parent ) : base(implementation, model, parent) { }
public ProjectsImplementation( [NotNull] DteImplementation implementation, [NotNull, ItemNotNull] IReadOnlyList <Rider.Model.ProjectModel> projectModels ) { Implementation = implementation; ProjectModels = projectModels; }
public FileCodeModelImpl( [NotNull] DteImplementation dteImplementation, [NotNull] ProjectItemImplementation parent ) { DteImplementation = dteImplementation; MyParent = parent; }
public ProjectItemImplementation( [NotNull] DteImplementation implementation, [NotNull] ProjectItemModel projectItemModel ) { Implementation = implementation; ProjectItemModel = projectItemModel; }
public ProjectItemsImplementation( DteImplementation implementation, List <ProjectItemModel> projectItemModels, object parent) { Implementation = implementation; ProjectItemModels = projectItemModels; Parent = parent; }
public ProjectImplementation( [NotNull] DteImplementation implementation, [NotNull] Rider.Model.ProjectModel projectModel, [CanBeNull] ProjectItem parentProjectItem = null ) { Implementation = implementation; ProjectModel = projectModel; ParentProjectItem = parentProjectItem; }
protected CodeElementBase( [NotNull] DteImplementation implementation, [NotNull] CodeElementModel model, [CanBeNull] object parent ) { Implementation = implementation; Model = model; CachedParent = parent; EnvDTEElementRegistrar = new EnvDTEElementRegistrar(Implementation); }
internal SolutionImplementation([NotNull] DteImplementation dte) => Implementation = dte;
public EnvDTEElementRegistrar([NotNull] DteImplementation implementation) => Implementation = implementation;