Exemplo n.º 1
0
        public ModelEntity(string name, string fullName, string description,
                           ModelEntityClassifier classifier, ModelEntityStereotype stereotype, ModelOrigin origin)
        {
            UpdateName(name, fullName, description);

            Classifier = classifier;
            Stereotype = stereotype;
            Origin     = origin;
        }
Exemplo n.º 2
0
        private TestModelBuilder AddEntityWithOptionalBase(string name, ModelEntityClassifier classifier,
                                                           ModelEntityStereotype stereotype, string baseName = null, ModelOrigin origin = ModelOrigin.Unknown)
        {
            var model = AddEntity(name, classifier, stereotype, origin);

            if (baseName != null)
            {
                AddBase(name, baseName);
            }

            return(model);
        }
Exemplo n.º 3
0
 protected TypeMemberNode(ModelNodeId id, string name, ModelNodeStereotype stereotype, ModelOrigin origin)
     : base(id, name, stereotype, origin)
 {
 }
Exemplo n.º 4
0
 private TestModelNode(ModelNodeId id, string name, ModelOrigin origin)
     : base(id, name, TestModelNodeStereotypes.Class, origin)
 {
 }
Exemplo n.º 5
0
 public ModelNode(ModelNodeId id, string name, ModelNodeStereotype stereotype, ModelOrigin origin)
 {
     Id         = id;
     Name       = name ?? throw new ArgumentNullException(nameof(name));
     Stereotype = stereotype ?? throw new ArgumentNullException(nameof(stereotype));
     Origin     = origin;
 }
Exemplo n.º 6
0
 public InterfaceNode(ModelNodeId id, string name, ModelOrigin origin, bool isAbstract)
     : base(id, name, ModelNodeStereotypes.Interface, origin, isAbstract)
 {
 }
Exemplo n.º 7
0
 public ClassNode(ModelNodeId id, string name, ModelOrigin origin, bool isAbstract)
     : base(id, name, ModelNodeStereotypes.Class, origin, isAbstract)
 {
 }
Exemplo n.º 8
0
 protected TypeNode(ModelNodeId id, string name, ModelNodeStereotype stereotype, ModelOrigin origin, bool isAbstract)
     : base(id, name, stereotype, origin)
 {
     IsAbstract = isAbstract;
 }
Exemplo n.º 9
0
 public TestClass(string name, ModelOrigin origin)
     : base(name, ModelEntityClassifier.Class, ModelEntityStereotype.None, origin)
 {
 }