Exemple #1
0
 public TypeBoundary CreateTypeBoundary(FAMIX.ParameterType type)
 {
     FAMIX.TypeBoundary boundary = this.CreateNewEntity <FAMIX.TypeBoundary>(typeof(FAMIX.TypeBoundary).FullName);
     boundary.ParameterType = type;
     type.AddBoundary(boundary);
     return(boundary);
 }
Exemple #2
0
 public static TypingContext TypeBoundary(TypeBoundary typeBoundary, INamedTypeSymbol symbol)
 {
     return(new TypeBoundaryTypingContext(typeBoundary, symbol));
 }
Exemple #3
0
 public TypeBoundaryTypingContext(FAMIX.TypeBoundary typeBoundary, INamedTypeSymbol relatedSymbol) : base(relatedSymbol)
 {
     this.entity = typeBoundary;
 }
 public void AddBoundary(TypeBoundary boundary)
 {
     this.boundaries.Add(boundary);
 }