Exemplo n.º 1
0
 public static global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana GetLink(global::ce.GEB_NGN_PCR_Practica1.Prototools source, global::ce.GEB_NGN_PCR_Practica1.Ventana target)
 {
     global::System.Collections.Generic.IList <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana> links = DslModeling::DomainRoleInfo.GetElementLinks <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana>(source, global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana.PrototoolsDomainRoleId);
     foreach (global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana link in links)
     {
         if (target.Equals(link.Ventana))
         {
             return(link);
         }
     }
     return(null);
 }
Exemplo n.º 2
0
 public static global::System.Collections.ObjectModel.ReadOnlyCollection <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana> GetLinks(global::ce.GEB_NGN_PCR_Practica1.Prototools source, global::ce.GEB_NGN_PCR_Practica1.Ventana target)
 {
     global::System.Collections.Generic.List <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana>  outLinks = new global::System.Collections.Generic.List <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana>();
     global::System.Collections.Generic.IList <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana> links    = DslModeling::DomainRoleInfo.GetElementLinks <global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana>(source, global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana.PrototoolsDomainRoleId);
     foreach (global::ce.GEB_NGN_PCR_Practica1.PrototoolsHasVentana link in links)
     {
         if (target.Equals(link.Ventana))
         {
             outLinks.Add(link);
         }
     }
     return(outLinks.AsReadOnly());
 }