NClass.Core.Models.ClassModel.AddNesting C# (CSharp) Méthode

AddNesting() public méthode

/// Cannot create relationship between the two types. /// /// or is null. ///
public AddNesting ( CompositeType parentType, TypeBase innerType ) : NestingRelationship
parentType CompositeType
innerType TypeBase
Résultat NestingRelationship
        public NestingRelationship AddNesting(CompositeType parentType, TypeBase innerType)
        {
            NestingRelationship nesting = new NestingRelationship(parentType, innerType);

            AddRelationship(nesting);
            return nesting;
        }