Exemple #1
0
 static public CmlEntity ReadCmlEntity(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadCmlEntity(item.GetPath(), milliseconds));
 }
Exemple #2
0
 static public AttemptResult AttemptReadBytes(this StreamSystemStream item, Process <byte[]> process, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBytes(item.GetPath(), process, milliseconds));
 }
Exemple #3
0
 static public AttemptResult AttemptReadObjectIfExists <T>(this StreamSystemStream item, ref T to_read, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadObjectIfExists <T>(item.GetPath(), ref to_read, milliseconds));
 }
Exemple #4
0
 static public AttemptResult OpenWrite(this StreamSystemStream item, out Stream stream, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().OpenStreamForWriting(item.GetPath(), out stream, milliseconds));
 }
Exemple #5
0
 static public ByteSequence GetHash(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().GetStreamHash(item.GetPath(), milliseconds));
 }
Exemple #6
0
 static public AttemptResult AttemptReadObject <T>(this StreamSystemStream item, out T obj, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadObject <T>(item.GetPath(), out obj, milliseconds));
 }
Exemple #7
0
 static public AttemptResult Write(this StreamSystemStream item, AttemptProcess <Stream> process, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().Write(item.GetPath(), process, milliseconds));
 }
Exemple #8
0
 static public T ReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBytes <T>(item.GetPath(), operation, milliseconds));
 }
Exemple #9
0
 static public AttemptResult WriteText(this StreamSystemStream item, string text, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteText(item.GetPath(), text, milliseconds));
 }
Exemple #10
0
 static public AttemptResult Delete(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().DeleteStream(item.GetPath(), milliseconds));
 }
Exemple #11
0
 static public string ReadText(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadText(item.GetPath(), milliseconds));
 }
Exemple #12
0
 static public AttemptResult WriteEmpty(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteEmpty(item.GetPath(), milliseconds));
 }
Exemple #13
0
 static public AttemptResult AttemptReadCmlEntity(this StreamSystemStream item, out CmlEntity entity, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadCmlEntity(item.GetPath(), out entity, milliseconds));
 }
Exemple #14
0
 static public byte[] ReadBytes(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBytes(item.GetPath(), milliseconds));
 }
Exemple #15
0
 static public DateTime GetTimestamp(this StreamSystemStream item)
 {
     return(item.GetStreamSystem().GetStreamTimestamp(item.GetPath()));
 }
Exemple #16
0
 static public AttemptResult AttemptReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, out T output, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBytes <T>(item.GetPath(), operation, out output, milliseconds));
 }
Exemple #17
0
 static public bool DoesExist(this StreamSystemStream item)
 {
     return(item.GetStreamSystem().DoesStreamExist(item.GetPath()));
 }
Exemple #18
0
 static public AttemptResult WriteBytes(this StreamSystemStream item, byte[] bytes, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteBytes(item.GetPath(), bytes, milliseconds));
 }
Exemple #19
0
 static public AttemptResult AttemptReadBitmap(this StreamSystemStream item, out Bitmap bitmap, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBitmap(item.GetPath(), out bitmap, milliseconds));
 }
Exemple #20
0
 public string GetPath()
 {
     return(GetModifiedPath(stream.GetPath()));
 }
Exemple #21
0
 static public Bitmap ReadBitmap(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBitmap(item.GetPath(), milliseconds));
 }
Exemple #22
0
 static public T ReadObject <T>(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadObject <T>(item.GetPath(), milliseconds));
 }
Exemple #23
0
 static public AttemptResult AttemptReadIntoStream(this StreamSystemStream item, Stream destination, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadIntoStream(item.GetPath(), destination, milliseconds));
 }
Exemple #24
0
 static public AttemptResult WriteObject(this StreamSystemStream item, object to_write, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteObject(item.GetPath(), to_write, milliseconds));
 }
Exemple #25
0
 static public AttemptResult WriteStreamTo(this StreamSystemStream item, Stream source, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteStreamTo(item.GetPath(), source, milliseconds));
 }
Exemple #26
0
 static public AttemptResult Copy(this StreamSystemStream item, StreamSystemStream dst, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().CopyStream(item.GetPath(), dst.GetStreamSystem(), dst.GetPath(), overwrite, milliseconds));
 }
Exemple #27
0
 static public bool TryGetLocalPath(this StreamSystemStream item, out string local_path)
 {
     return(item.GetStreamSystem().TryGetLocalPath(item.GetPath(), out local_path));
 }