public void Initialize(char symbol, int index, ArchitectureStyle style) { if (symbol == 'e') { return; } IResultSet resultSet = Repository.List("facade_item").Filter("style", style.name).Filter("symbol", symbol + "").Filter("index", index + ""); if (resultSet.Count() == 0) { throw new Exception("model not found (style: " + style.name + ", element: " + symbol + index + ")"); } _model = resultSet.Get(0); if (_model == null) { throw new Exception("invalid model (style: " + style.name + ", element: " + symbol + index + ")"); } CacheMetadata(); _invalid = false; }