aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/ItemTemplate.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 12:51:16 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 12:51:16 +0100
commita2a18e264a8a2d586f2c058ebb5b2b15b745804e (patch)
tree2d64f47263fb3b6ecdc5edad0fca3690fb47efb8 /src/ItemTemplate.cs
parent938d7a404ec022a077579a8245e80d6fa5bbb890 (diff)
instantiators dictionary no longer static but local to Interface
Diffstat (limited to 'src/ItemTemplate.cs')
-rw-r--r--src/ItemTemplate.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ItemTemplate.cs b/src/ItemTemplate.cs
index 5ede1d94..7eb9d752 100644
--- a/src/ItemTemplate.cs
+++ b/src/ItemTemplate.cs
@@ -61,8 +61,8 @@ namespace Crow
/// <param name="path">IML file to parse</param>
/// <param name="_dataType">type this item will be choosen for, or member of the data item</param>
/// <param name="_fetchDataMethod">for hierarchical data, method to call for children fetching</param>
- public ItemTemplate(string path, string _dataTest = "TypeOf", string _dataType = null, string _fetchDataMethod = null)
- : base(path) {
+ public ItemTemplate(Interface _iface, string path, string _dataTest = "TypeOf", string _dataType = null, string _fetchDataMethod = null)
+ : base(_iface, path) {
strDataType = _dataType;
fetchMethodName = _fetchDataMethod;
dataTest = _dataTest;
@@ -74,8 +74,8 @@ namespace Crow
/// <param name="path">IML fragment to parse</param>
/// <param name="_dataType">type this item will be choosen for, or member of the data item</param>
/// <param name="_fetchDataMethod">for hierarchical data, method to call for children fetching</param>
- public ItemTemplate (Stream ImlFragment, string _dataTest, string _dataType, string _fetchDataMethod)
- :base(ImlFragment)
+ public ItemTemplate (Interface _iface, Stream ImlFragment, string _dataTest, string _dataType, string _fetchDataMethod)
+ :base(_iface, ImlFragment)
{
strDataType = _dataType;
fetchMethodName = _fetchDataMethod;
@@ -87,8 +87,8 @@ namespace Crow
/// <param name="path">XML reader positionned before or at the root node</param>
/// <param name="_dataType">type this item will be choosen for, or member of the data item</param>
/// <param name="_fetchDataMethod">for hierarchical data, method to call for children fetching</param>
- public ItemTemplate (XmlReader reader, string _dataTest = "TypeOf" , string _dataType = null, string _fetchDataMethod = null)
- :base(reader)
+ public ItemTemplate (Interface _iface, XmlReader reader, string _dataTest = "TypeOf" , string _dataType = null, string _fetchDataMethod = null)
+ :base(_iface, reader)
{
strDataType = _dataType;
fetchMethodName = _fetchDataMethod;