mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +08:00
21 lines
596 B
C#
21 lines
596 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Diagnostics;
|
||
|
using System.Linq;
|
||
|
|
||
|
namespace BililiveRecorder.Flv.Amf
|
||
|
{
|
||
|
internal sealed class AmfCollectionDebugView
|
||
|
{
|
||
|
private readonly ICollection<IScriptDataValue> _collection;
|
||
|
|
||
|
public AmfCollectionDebugView(ICollection<IScriptDataValue> collection)
|
||
|
{
|
||
|
this._collection = collection ?? throw new ArgumentNullException(nameof(collection));
|
||
|
}
|
||
|
|
||
|
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
|
||
|
public IScriptDataValue[] Items => this._collection.ToArray();
|
||
|
}
|
||
|
}
|