scripts
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace ICSharpCode.SharpZipLib.Zip
|
||||
{
|
||||
// Token: 0x02000074 RID: 116
|
||||
public class StaticDiskDataSource : IStaticDataSource
|
||||
{
|
||||
// Token: 0x06000480 RID: 1152 RVA: 0x000168EB File Offset: 0x000158EB
|
||||
public StaticDiskDataSource(string fileName)
|
||||
{
|
||||
this.fileName_ = fileName;
|
||||
}
|
||||
|
||||
// Token: 0x06000481 RID: 1153 RVA: 0x000168FA File Offset: 0x000158FA
|
||||
public Stream GetSource()
|
||||
{
|
||||
return File.Open(this.fileName_, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
}
|
||||
|
||||
// Token: 0x04000308 RID: 776
|
||||
private string fileName_;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user