public IEditorNavigationType CreateEditorNavigationType(JavaEditorNavigationTypeDefinition definition, string type, IEnumerable <IEditorNavigationType> baseTypes)
        {
            var navigationType = new EditorNavigationType(definition, type, baseTypes);

            _navigationTypes.Add(type, navigationType);
            return(navigationType);
        }
Ejemplo n.º 2
0
        public IEditorNavigationType CreateEditorNavigationType([NotNull] EditorNavigationTypeDefinition definition, [NotNull] string type, IEnumerable <IEditorNavigationType> baseTypes)
        {
            Requires.NotNull(definition, nameof(definition));
            Requires.NotNull(type, nameof(type));

            var navigationType = new EditorNavigationType(definition, type, baseTypes);

            _navigationTypes.Add(type, navigationType);
            return(navigationType);
        }
 public IEditorNavigationType CreateEditorNavigationType(JavaEditorNavigationTypeDefinition definition, string type, IEnumerable<IEditorNavigationType> baseTypes)
 {
     var navigationType = new EditorNavigationType(definition, type, baseTypes);
     _navigationTypes.Add(type, navigationType);
     return navigationType;
 }