pdf - 395 K - Ecole des mines de Nantes
pdf - 395 K - Ecole des mines de Nantes
pdf - 395 K - Ecole des mines de Nantes
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
}get{}return Data.Rows.Find(_name);/// /// See IProfile./// public ILink AddLinkBetween(ResourceId origin, ResourceId<strong><strong>de</strong>s</strong>tination){ILink link = GetLinkBetween(origin, <strong><strong>de</strong>s</strong>tination);if (link != null) return link;SUPNo<strong>de</strong> origNo<strong>de</strong> = AddNo<strong>de</strong>On(origin) as SUPNo<strong>de</strong>;SUPNo<strong>de</strong> <strong><strong>de</strong>s</strong>tinNo<strong>de</strong> = AddNo<strong>de</strong>On(<strong><strong>de</strong>s</strong>tination) as SUPNo<strong>de</strong>;return SUPLink.CreateLink(origNo<strong>de</strong>, <strong><strong>de</strong>s</strong>tinNo<strong>de</strong>);}/// /// See IProfile./// public INo<strong>de</strong> AddNo<strong>de</strong>On(ResourceId resource){INo<strong>de</strong> no<strong>de</strong> = GetNo<strong>de</strong>On(resource);if (no<strong>de</strong> != null) return no<strong>de</strong>;return SUPNo<strong>de</strong>.CreateNo<strong>de</strong>(this, resource);}/// /// See IProfile./// public ILink GetLinkBetween(ResourceId origin, ResourceId<strong><strong>de</strong>s</strong>tination){INo<strong>de</strong> no<strong>de</strong> = GetNo<strong>de</strong>On(origin);if (no<strong>de</strong> == null) return null;return no<strong>de</strong>.GetLinkTo(<strong><strong>de</strong>s</strong>tination);}/// /// See IProfile./// public INo<strong>de</strong> GetNo<strong>de</strong>On(ResourceId resource){// Get all No<strong>de</strong> rowsDataRow[] rows = Row.GetChildRows(ToNo<strong><strong>de</strong>s</strong>);foreach (DataRow row in rows){ResourceId peer = newResourceId((string)row[SUPNo<strong>de</strong>.RESOURCE]);if (resource.Equals(peer))return new SUPNo<strong>de</strong>(row);}return null;}/// /// See IProfile./// public INo<strong>de</strong>[] GetNo<strong><strong>de</strong>s</strong>()MSc EMOOSE Thesis – http://www.emn.fr/EMOOSE 125