/// <summary> /// Gets the real name of a Package's instance. /// </summary> /// <param name="package">The Package's instance.</param> /// <returns>The real name.</returns> public static string GetRealName(this MyConstellation.PackageInstances package) { return(RealNameAttribute.GetRealName <MyConstellation.PackageInstances>(package)); }
/// <summary> /// Gets the real name of a Sentinel. /// </summary> /// <param name="sentinel">The Sentinel.</param> /// <returns>The real name.</returns> public static string GetRealName(this MyConstellation.Sentinels sentinel) { return(RealNameAttribute.GetRealName <MyConstellation.Sentinels>(sentinel)); }