[This is preliminary documentation and is subject to change.]
Author: Đonny
Adapter that adapts List<(Of <(<'T>)>)> into IReadOnlyList<(Of <(<'T>)>)> in order to prevent changes of adapted list
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public class ReadOnlyListAdapter<T> : ReadOnlyListAdapter<T, T> |
| Visual Basic |
|---|
Public Class ReadOnlyListAdapter(Of T) _ Inherits ReadOnlyListAdapter(Of T, T) |
| Visual C++ |
|---|
generic<typename T> public ref class ReadOnlyListAdapter : public ReadOnlyListAdapter<T, T> |
| F# |
|---|
type ReadOnlyListAdapter<'T> = class inherit ReadOnlyListAdapter<'T, 'T> end |
| JScript |
|---|
|
Type Parameters
- T
- Type of items of list
Remarks
If you need convert list of values of inherited type to list of values of parent type use ReadOnlyListAdapter<(Of <(<'TFrom, TTo>)>)>
Inheritance Hierarchy
System..::..Object
Tools.CollectionsT.GenericT..::..ReadOnlyListAdapter<(Of <(<'T, T>)>)>
Tools.CollectionsT.GenericT..::..ReadOnlyListAdapter<(Of <(<'T>)>)>
Tools.CollectionsT.GenericT..::..ReadOnlyListAdapter<(Of <(<'T, T>)>)>
Tools.CollectionsT.GenericT..::..ReadOnlyListAdapter<(Of <(<'T>)>)>
See Also
Version History
1.5.2
- (Release) VersionAttribute and AuthorAttribute removed