public static DslModeling::LinkedElementCollection <Ventana> GetVentana(Prototools element) { return(GetRoleCollection <DslModeling::LinkedElementCollection <Ventana>, Ventana>(element, PrototoolsDomainRoleId)); }
/// <summary> /// Constructor /// Creates a PrototoolsHasVentana link in the same Partition as the given Prototools /// </summary> /// <param name="source">Prototools to use as the source of the relationship.</param> /// <param name="target">Ventana to use as the target of the relationship.</param> public PrototoolsHasVentana(Prototools source, Ventana target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[] { new DslModeling::RoleAssignment(PrototoolsHasVentana.PrototoolsDomainRoleId, source), new DslModeling::RoleAssignment(PrototoolsHasVentana.VentanaDomainRoleId, target) }, null) { }
public static void SetPrototools(Ventana element, Prototools newPrototools) { DslModeling::DomainRoleInfo.SetLinkedElement(element, VentanaDomainRoleId, newPrototools); }