Dictionary as data source
See original GitHub issueHi,
Is it possible to pass dictionary to template as a variable for usecase when data structure is being specified only in runtime? so not to create class: ` class Person { string FirstName { get; set; } string LastName { get; set; } }
…
template.AddVariable(personObj)
but
var data = SomeDataRetrievingMethod();
template.AddVariable(data);
`
Thank you
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Binding Combobox Using Dictionary as the Datasource
NET 2.0 and I'm trying to bind a combobox's Datasource to a sorted dictionary. So the error I'm getting is "DataMember property 'Key'...
Read more >How to Make a Data Dictionary
The purpose of a data dictionary is to explain what all the variable names and values in your spreadsheet really mean. Variable names;...
Read more >Is it possible to use a dictionary<T,T> as a data source for ...
It is impossible to build a tree-like structure using Dictionary <string, string> as a data source. You can either convert your Dictionary to...
Read more >MATLAB addDataSource
This MATLAB function adds a data dictionary, refDictionaryFile, ... The DataSource property of an entry indicates the dictionary that defines the entry.
Read more >Using dictionary values as datasource in Blazor DataGrid
You can assign dictionary values in the datagrid's data source by accessing them using KeyValuePair data type inside the Template property of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is that feature already available again? I’m currently struggling with Dictionaries or ExpandoObjects and both don’t work for me currently.
Unfortunately, after switching to the new parsing library “System.Linq.Dynamic.Core” this feature became unavailable. But I have an idea how to return this functionality, only time is missing. In the next version I will implement it.