Skip to content

Commit

Permalink
Updated ItemTypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nejrahosic committed Jul 21, 2023
1 parent 08857b0 commit 78ff079
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PropertyRetrieval/ItemTypes/ItemTypeHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ public static IitemTypes GetItemTypesFromTypeName(string typeName, IConnection c
Dictionary<string, IitemTypes> allItemTypes = new Dictionary<string, IitemTypes>
{
{"View", new ViewTypes(connection)},
{"Element", new ElementTypes(connection)},
{"Service", new ServiceTypes(connection)},
};

return allItemTypes[typeName];
}

public static string[] GetItemTypes()
{
return new string[] { "View" };
return new string[] { "View", "Element", "Service" };
}
}
}

0 comments on commit 78ff079

Please sign in to comment.