📄 uploadfilecollection.cs
字号:
using System;
using System.Collections;
namespace Webb.WAVE.Controls.Upload
{
/// <summary>
/// UploadFileCollection
/// </summary>
public class UploadFileCollection : ICollection, IEnumerable
{
#region Fields
private ArrayList filelist;
#endregion
#region Properties
public int Count
{
get { return this.filelist.Count; }
}
#endregion
#region Methods
public bool IsSynchronized
{
get { return this.filelist.IsSynchronized; }
}
public UploadFile this[int index]
{
get { return ((UploadFile) this.filelist[index]); }
}
public object SyncRoot
{
get { return this.filelist.SyncRoot; }
}
public UploadFileCollection()
{
this.filelist = new ArrayList();
}
public void Add(UploadFile File)
{
this.filelist.Add(File);
}
public void CopyTo(Array array, int index)
{
this.filelist.CopyTo(array, index);
}
public IEnumerator GetEnumerator()
{
return this.filelist.GetEnumerator();
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -