/// <inheritdoc/> public void Build(IProcessServiceBuilderHelper helper) { helper.RegisterService <ICreateItemsInScopeRules, TargetKind>(new CreateItemInScopeRulesService()); }
/// <inheritdoc /> public void Build(IProcessServiceBuilderHelper helper) { helper.RegisterService <IProcessFactoryService, TargetKind>( new ProcessFactoryService(new TargetFactorySoftwareFilter(), GetTargetAdoptableKinds(helper))); }
/// <inheritdoc/> public void Build(IProcessServiceBuilderHelper helper) { helper.RegisterEnvoyBindingKeywordService <TargetKind>(new EnvoyBindingKeywordService( TargetDefinition.TargetDefinitionString, TargetKeyword)); }
private static IEnumerable <KindInfo> GetTargetAdoptableKinds(IProcessServiceBuilderHelper helper) { // This allows all software kinds in the target, then RebarCreateItemInScopeRulesService restricts it further return(helper.GetKind <SoftwareKind>().ToEnumerable()); }