/// <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; }