public virtual void AddFile(string path, Stream stream) { AddFileCore(path, () => { FileSystemUtility.AddFile(ProjectFullPath, path, stream, NuGetProjectContext); }); }
public virtual void AddFile(string path, Action <Stream> writeToStream) { NuGetUIThreadHelper.JoinableTaskFactory.Run(async delegate { await NuGetUIThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); await AddFileCoreAsync(path, () => FileSystemUtility.AddFile(ProjectFullPath, path, writeToStream, NuGetProjectContext)); }); }
public virtual void AddFile(string path, Action <Stream> writeToStream) { AddFileCore(path, () => FileSystemUtility.AddFile(ProjectFullPath, path, writeToStream, NuGetProjectContext)); }
protected virtual void PhysicalFileSystemAddFile(string path, Stream stream) { FileSystemUtility.AddFile(ProjectFullPath, path, stream, NuGetProjectContext); }
public void AddFile(string path, Stream stream) { FileSystemUtility.AddFile(ProjectFullPath, path, stream, NuGetProjectContext); }