Exemplo n.º 1
0
 /// <summary>
 /// create a new affinity object
 /// </summary>
 /// <param name="l">the granularity of the affinity</param>
 /// <param name="place">the locality of the affinity</param>
 public AffinityResource(AffinityResourceLevel l, string place)
 {
     level = l;
     locality = place;
 }
Exemplo n.º 2
0
 /// <summary>
 /// create a new affinity object
 /// </summary>
 /// <param name="l">the granularity of the affinity</param>
 /// <param name="place">the locality of the affinity</param>
 public AffinityResource(AffinityResourceLevel l, string place)
 {
     level    = l;
     locality = place;
 }