@@ -341,13 +341,13 @@ extension ProgressManager {
341
341
}
342
342
}
343
343
344
- /// Gets or sets custom integer properties.
344
+ /// Gets or sets custom unsigned integer properties.
345
345
///
346
346
/// This subscript provides read-write access to custom progress properties where both the value
347
347
/// and summary types are `UInt64`. If the property has not been set, the getter returns the
348
348
/// property's default value.
349
349
///
350
- /// - Parameter key: A key path to the custom integer property type.
350
+ /// - Parameter key: A key path to the custom unsigned integer property type.
351
351
public subscript< P: Property > ( dynamicMember key: KeyPath < ProgressManager . Properties , P . Type > ) -> UInt64 where P. Value == UInt64 , P. Summary == UInt64 {
352
352
get {
353
353
if P . self == ProgressManager . Properties. TotalByteCount. self {
@@ -458,13 +458,13 @@ extension ProgressManager {
458
458
}
459
459
}
460
460
461
- /// Gets or sets custom UInt64 properties.
461
+ /// Gets or sets custom unsigned integer properties.
462
462
///
463
463
/// This subscript provides read-write access to custom progress properties where the value
464
464
/// type is `UInt64` and the summary type is `[UInt64]`. If the property has not been set,
465
465
/// the getter returns the property's default value.
466
466
///
467
- /// - Parameter key: A key path to the custom UInt64 property type.
467
+ /// - Parameter key: A key path to the custom unsigned integer property type.
468
468
public subscript< P: Property > ( dynamicMember key: KeyPath < ProgressManager . Properties , P . Type > ) -> UInt64 where P. Value == UInt64 , P. Summary == [ UInt64 ] {
469
469
get {
470
470
if P . self == ProgressManager . Properties. Throughput. self {
@@ -495,13 +495,13 @@ extension ProgressManager {
495
495
}
496
496
}
497
497
498
- /// Gets or sets custom Duration properties.
498
+ /// Gets or sets custom duration properties.
499
499
///
500
500
/// This subscript provides read-write access to custom progress properties where the value
501
501
/// type is `Duration` and the summary type is `Duration`. If the property has not been set,
502
502
/// the getter returns the property's default value.
503
503
///
504
- /// - Parameter key: A key path to the custom Duration property type.
504
+ /// - Parameter key: A key path to the custom duration property type.
505
505
public subscript< P: Property > ( dynamicMember key: KeyPath < ProgressManager . Properties , P . Type > ) -> Duration where P. Value == Duration , P. Summary == Duration {
506
506
get {
507
507
if P . self == ProgressManager . Properties. EstimatedTimeRemaining. self {
@@ -580,10 +580,10 @@ extension ProgressManager {
580
580
581
581
/// Returns a summary for a custom unsigned integer property across the progress subtree.
582
582
///
583
- /// This method aggregates the values of a custom integer property from this progress manager
583
+ /// This method aggregates the values of a custom unsigned integer property from this progress manager
584
584
/// and all its children, returning a consolidated summary value.
585
585
///
586
- /// - Parameter property: The type of the integer property to summarize. Must be a property
586
+ /// - Parameter property: The type of the unsigned integer property to summarize. Must be a property
587
587
/// where both the value and summary types are `UInt64`.
588
588
/// - Returns: An `UInt64` summary value for the specified property.
589
589
public func summary< P: Property > ( of property: P . Type ) -> P . Summary where P. Value == UInt64 , P. Summary == UInt64 {
@@ -636,12 +636,12 @@ extension ProgressManager {
636
636
return getUpdatedURLSummary ( property: MetatypeWrapper ( property) )
637
637
}
638
638
639
- /// Returns a summary for a custom UInt64 property across the progress subtree.
639
+ /// Returns a summary for a custom unsigned integer property across the progress subtree.
640
640
///
641
- /// This method aggregates the values of a custom UInt64 property from this progress manager
641
+ /// This method aggregates the values of a custom unsigned integer property from this progress manager
642
642
/// and all its children, returning a consolidated summary value as an array of UInt64 values.
643
643
///
644
- /// - Parameter property: The type of the UInt64 property to summarize. Must be a property
644
+ /// - Parameter property: The type of the unsigned integer property to summarize. Must be a property
645
645
/// where the value type is `UInt64` and the summary type is `[UInt64]`.
646
646
/// - Returns: A `[UInt64]` summary value for the specified property.
647
647
public func summary< P: Property > ( of property: P . Type ) -> P . Summary where P. Value == UInt64 , P. Summary == [ UInt64 ] {
@@ -653,12 +653,12 @@ extension ProgressManager {
653
653
}
654
654
}
655
655
656
- /// Returns a summary for a custom Duration property across the progress subtree.
656
+ /// Returns a summary for a custom duration property across the progress subtree.
657
657
///
658
- /// This method aggregates the values of a custom Duration property from this progress manager
658
+ /// This method aggregates the values of a custom duration property from this progress manager
659
659
/// and all its children, returning a consolidated summary value.
660
660
///
661
- /// - Parameter property: The type of the Duration property to summarize. Must be a property
661
+ /// - Parameter property: The type of the duration property to summarize. Must be a property
662
662
/// where the value type is `Duration` and the summary type is `Duration`.
663
663
/// - Returns: A `Duration` summary value for the specified property.
664
664
public func summary< P: Property > ( of property: P . Type ) -> P . Summary where P. Value == Duration , P. Summary == Duration {
0 commit comments