File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1010
1111namespace Reinforced . Typings
1212{
13+ /// <summary>
14+ /// Implementation of file operations abstraction
15+ /// </summary>
1316 public class FilesOperations : IFilesOperations
1417 {
1518 private readonly List < string > _tmpFiles = new List < string > ( ) ;
1619
20+ /// <summary>
21+ /// <inheritdoc />
22+ /// </summary>
1723 public ExportContext Context { get ; set ; }
1824
25+ /// <summary>
26+ /// <inheritdoc />
27+ /// </summary>
1928 public void DeployTempFiles ( )
2029 {
2130 foreach ( var tmpFile in _tmpFiles )
@@ -38,6 +47,11 @@ public void DeployTempFiles()
3847 }
3948 }
4049
50+ /// <summary>
51+ /// Internal implementation of file Export operation
52+ /// </summary>
53+ /// <param name="tw">Target stream</param>
54+ /// <param name="file">Exported file</param>
4155 protected virtual void ExportCore ( StreamWriter tw , ExportedFile file )
4256 {
4357
@@ -53,6 +67,9 @@ protected virtual void ExportCore(StreamWriter tw, ExportedFile file)
5367 visitor . VisitFile ( file ) ;
5468 }
5569
70+ /// <summary>
71+ /// <inheritdoc />
72+ /// </summary>
5673 public void Export ( string fileName , ExportedFile file )
5774 {
5875 using ( var fs = GetTmpFile ( fileName ) )
@@ -100,7 +117,9 @@ private Stream GetTmpFile(string fileName)
100117 return File . OpenWrite ( fileName ) ;
101118 }
102119
103-
120+ /// <summary>
121+ /// <inheritdoc />
122+ /// </summary>
104123 public void ClearTempRegistry ( )
105124 {
106125 _tmpFiles . Clear ( ) ;
You can’t perform that action at this time.
0 commit comments