/// <summary> /// Initializes a new instance of the <see cref="MyfirstPackageStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> /// <param name="name">The StateObject name.</param> /// <param name="type">The StateObject type.</param> public MyfirstPackageStateObjectLinkAttribute(MyConstellation.Sentinels sentinel, MyfirstPackageStateObjectNames name, string type) : base(sentinel.GetRealName(), MyConstellation.Packages.MyfirstPackage.GetRealName(), name.GetRealName(), type) { }
public static string GetRealName(this MyConstellation.Sentinels sentinel) { return(RealNameAttribute.GetRealName <MyConstellation.Sentinels>(sentinel)); }
/// <summary> /// Initializes a new instance of the <see cref="MyfirstPackageStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> public MyfirstPackageStateObjectLinkAttribute(MyConstellation.Sentinels sentinel) : this() { this.Sentinel = sentinel.GetRealName(); }
/// <summary> /// Initializes a new instance of the <see cref="HWMonitorStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> /// <param name="name">The StateObject name.</param> /// <param name="type">The StateObject type.</param> public HWMonitorStateObjectLinkAttribute(MyConstellation.Sentinels sentinel, HWMonitorStateObjectNames name, string type) : base(sentinel.GetRealName(), MyConstellation.Packages.HWMonitor.GetRealName(), name.GetRealName(), type) { }
/// <summary> /// Initializes a new instance of the <see cref="HWMonitorStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> public HWMonitorStateObjectLinkAttribute(MyConstellation.Sentinels sentinel) : this() { this.Sentinel = sentinel.GetRealName(); }
/// <summary> /// Initializes a new instance of the <see cref="BatteryCheckerStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> /// <param name="name">The StateObject name.</param> /// <param name="type">The StateObject type.</param> public BatteryCheckerStateObjectLinkAttribute(MyConstellation.Sentinels sentinel, BatteryCheckerStateObjectNames name, string type) : base(sentinel.GetRealName(), MyConstellation.Packages.BatteryChecker.GetRealName(), name.GetRealName(), type) { }
/// <summary> /// Initializes a new instance of the <see cref="BatteryCheckerStateObjectLinkAttribute"/> class. /// </summary> /// <param name="sentinel">The sentinel.</param> public BatteryCheckerStateObjectLinkAttribute(MyConstellation.Sentinels sentinel) : this() { this.Sentinel = sentinel.GetRealName(); }