/// <summary> /// Create a processor to discover and download catalog leafs. Leafs are processed /// by the <see cref="ICatalogLeafProcessor"/>. /// </summary> /// <param name="cursor">Cursor to track succesfully processed leafs. Leafs before the cursor are skipped.</param> /// <param name="client">The client to interact with the catalog resource.</param> /// <param name="leafProcessor">The leaf processor.</param> /// <param name="options">The options to configure catalog processing.</param> /// <param name="logger">The logger used for telemetry.</param> public CatalogProcessor( ICursor cursor, ICatalogResource client, ICatalogLeafProcessor leafProcessor, CatalogProcessorOptions options, ILogger <CatalogProcessor> logger) { _leafProcessor = leafProcessor ?? throw new ArgumentNullException(nameof(leafProcessor)); _client = client ?? throw new ArgumentNullException(nameof(client)); _cursor = cursor ?? throw new ArgumentNullException(nameof(cursor)); _options = options ?? throw new ArgumentNullException(nameof(options)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
partial void Resource_SetCondition(ref ICatalogNode instance, ref ICatalogResource setValue);
partial void ServiceReferences_SetCondition(ref ICatalogResource instance, ref IDictionary <String, IServiceDefinition> setValue);
partial void Properties_SetCondition(ref ICatalogResource instance, ref IDictionary <String, String> setValue);
partial void NodeReferences_SetCondition(ref ICatalogResource instance, ref ReadOnlyCollection <ICatalogNode> setValue);
/// <summary> /// Creates the child. /// </summary> /// <param name="existingResource">The existing resource.</param> /// <returns>ICatalogNode.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> ICatalogNode ICatalogNode.CreateChild(ICatalogResource existingResource) { throw new ToBeImplementedException(); }