Apollo3zehn / PureHDF

A pure .NET library that makes reading and writing of HDF5 files (groups, datasets, attributes, ...) very easy.
MIT License
50 stars 18 forks source link

File Path only can be Const - Bindigns #41

Open Apollo3zehn opened 1 year ago

Apollo3zehn commented 1 year ago

Discussed in https://github.com/Apollo3zehn/PureHDF/discussions/40

Originally posted by **FranciscoG001** August 29, 2023 Hello again, just want to know if its possible to change the type of filePath on: [H5SourceGenerator(filePath: HDF5Read.FILE_PATH)] internal partial class MyGeneratedH5Bindings { }; , because only can be const, or if its possible to pass another path to the .h5 file, because I also repair that just accept the hardcode path like "C:\\user\\..." and I like to use the path from a local folder on my project without the hardcode path.