/// <summary> /// Create a PushBulletScope to a specific package /// </summary> /// <param name="package">The package</param> public static PushBulletScope CreatePushBulletScope(this WhenShouldIGo.MyConstellation.Packages package) { return(MessageScope.Create(MessageScope.ScopeType.Package, package.GetRealName()).ToPushBulletScope()); }
/// <summary> /// Create a GoogleTrafficScope to a specific package /// </summary> /// <param name="package">The package</param> public static GoogleTrafficScope CreateGoogleTrafficScope(this WhenShouldIGo.MyConstellation.Packages package) { return(MessageScope.Create(MessageScope.ScopeType.Package, package.GetRealName()).ToGoogleTrafficScope()); }