Exemple #1
0
        public SystemLandscapeView CreateSystemLandscapeView(string key, string description)
        {
            AssertThatTheViewKeyIsUnique(key);

            SystemLandscapeView view = new SystemLandscapeView(Model, key, description);

            SystemLandscapeViews.Add(view);
            return(view);
        }
Exemple #2
0
 private SystemLandscapeView FindSystemLandscapeView(SystemLandscapeView systemLandscapeView)
 {
     return(SystemLandscapeViews.FirstOrDefault(view => view.Key == systemLandscapeView.Key));
 }