public static bool TryGetValue(this InfoListModel @this, string key, out string value) { var kv = @this.dictionary.KeyValueListByKey(key); if (kv.HasValue) { value = kv.Value.StringValue; return(true); } else { value = default(string); return(false); } }
public RoadDataModel(string id, List <NodeDataModel> positions, InfoListModel infoList) { this.id = id; this.positions = positions; this.infoList = infoList; }
public BuildingDataModel(string id, List <PositionModel> exteriorPositions, InfoListModel infoList) { this.id = id; this.exteriorPositions = exteriorPositions; this.infoList = infoList; }
public NodeDataModel(string id, PositionModel position, InfoListModel infoList) { this.id = id; this.position = position; this.infoList = infoList; }