mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 12:15:42 +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();
|
|
}
|
|
}
|