Skip to content

Commit 2c5856f

Browse files
committed
remove duplicate subscript methods
1 parent c2d4066 commit 2c5856f

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Proposals/0023-progress-manager.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -929,30 +929,6 @@ extension ProgressManager {
929929
///
930930
/// - Parameter key: A key path to the custom double property type.
931931
public subscript<P: Property>(dynamicMember key: KeyPath<ProgressManager.Properties, P.Type>) -> Duration where P.Value == Duration, P.Summary == Duration { get set }
932-
933-
/// Gets or sets the total file count property.
934-
/// - Parameter key: A key path to the `TotalFileCount` property type.
935-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.TotalFileCount.Type>) -> Int { get set }
936-
937-
/// Gets or sets the completed file count property.
938-
/// - Parameter key: A key path to the `CompletedFileCount` property type.
939-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.CompletedFileCount.Type>) -> Int { get set }
940-
941-
/// Gets or sets the total byte count property.
942-
/// - Parameter key: A key path to the `TotalByteCount` property type.
943-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.TotalByteCount.Type>) -> UInt64 { get set }
944-
945-
/// Gets or sets the completed byte count property.
946-
/// - Parameter key: A key path to the `CompletedByteCount` property type.
947-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.CompletedByteCount.Type>) -> UInt64 { get set }
948-
949-
/// Gets or sets the throughput property.
950-
/// - Parameter key: A key path to the `Throughput` property type.
951-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.Throughput.Type>) -> UInt64 { get set }
952-
953-
/// Gets or sets the estimated time remaining property.
954-
/// - Parameter key: A key path to the `EstimatedTimeRemaining` property type.
955-
public subscript(dynamicMember key: KeyPath<ProgressManager.Properties, ProgressManager.Properties.EstimatedTimeRemaining.Type>) -> Duration { get set }
956932
}
957933
}
958934
```

0 commit comments

Comments
 (0)