コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SongsRepository"/> class.
 /// </summary>
 public SongsRepository()
 {
     if (SongsRepository.songs == null)
     {
         SongsRepository.songs = MockSeedData.GetSongs();
     }
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArrangementsRepository"/> class.
 /// </summary>
 public ArrangementsRepository()
 {
     if (ArrangementsRepository.arrangements == null)
     {
         ArrangementsRepository.arrangements = MockSeedData.GetArrangements();
     }
 }
コード例 #3
0
        /// <summary>
        /// Gets a set of song data.
        /// </summary>
        /// <returns>A list of songs.</returns>
        public static List <Song> GetSongs()
        {
            List <Artist> artists = MockSeedData.GetArtists();

            return(new List <Song>
            {
                // Reckless Love
                new Song
                {
                    Id = 1,
                    Title = "Reckless Love",
                    Album = "Reckless Love",
                    CopyrightYear = 2017,
                    FirstLine = "Before I spoke a word, You were singing over me",
                    Writers = new List <Artist>
                    {
                        artists[4],
                        artists[5],
                    },
                    Artists = new List <Artist>
                    {
                        artists[6],
                    },
                    Arrangements = new List <Arrangement>
                    {
                        new Arrangement
                        {
                            Id = Guid.Parse("11111111-1111-1111-1111-111111111111"),
                            Key = NaturalSongKey.G,
                            KeyVariation = SongKeyVariation.Natural,
                            Contents = @"
[Intro]
{D#m}   | {C#}   | {B}   | {F#}

[Verse 1]
{D#m}Before I spoke a {C#}word, You were singing {B}over me
{D#m}You have been {C#}so, so good to {B}me
{D#m}Before I took a {C#}breath, You breathed Your {B}life in me
{D#m}You have been {C#}so, so kind to {B}me

[Chorus]
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God
O, it {D#m}chases me down, {C#}fights 'til I'm found, {B}leaves the ninety-{F#}nine
I couldn't {D#m}earn it, and I don't {C#}deserve it, still, {B}You give Yourself aw{F#}ay
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God, yeah

[Verse 2]
{D#m}When I was Your {C#}foe, still Your love fought {B}for me
{D#m}You have been {C#}so, so good to {B}me
{D#m}When I felt no {C#}worth, You paid it all for me {B}
{D#m}You have been {C#}so, so kind to {B}me

[Chorus]
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God
O, it {D#m}chases me down, {C#}fights 'til I'm found, {B}leaves the ninety-{F#}nine
I couldn't {D#m}earn it, and I don't {C#}deserve it, still, {B}You give Yourself aw{F#}ay
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God, yeah

[Bridge]
{D#m}There's no shadow You won't {D#m}light up
Mountain You won't {D#m}climb up
Coming after {D#m}me
{D#m}There's no wall You won't {D#m}kick down
Lie You won't {D#m}tear down
Coming after {D#m}me

{D#m}There's no shadow You won't {C#}light up
Mountain You won't {B}climb up
Coming after {F#}me
{D#m}There's no wall You won't {C#}kick down
Lie You won't {B}tear down
Coming after {F#}me

[Chorus]
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God
O, it {D#m}chases me down, {C#}fights 'til I'm found, {B}leaves the ninety-{F#}nine
I couldn't {D#m}earn it, and I don't {C#}deserve it, still, {B}You give Yourself aw{F#}ay
O, the {D#m}overwhelming, {C#}never-ending, {B}reckless love of {F#}God, yeah",
                        },
                    },
                },

                // Good Good Father
                new Song
                {
                    Id = 2,
                    Title = "Good Good Father",
                    Album = "Never Lose Sight",
                    CopyrightYear = 2016,
                    FirstLine = "I've heard a thousand stories",
                    Writers = new List <Artist>
                    {
                        artists[1],
                        artists[2],
                        artists[3],
                    },
                    References = new List <Uri>
                    {
                        new Uri("http://www.worshiptogether.com/songs/good-good-father-tomlin/"),
                    },
                    Arrangements = new List <Arrangement>
                    {
                        new Arrangement
                        {
                            Id = Guid.Parse("22222222-2222-2222-2222-222222222222"),
                            Key = NaturalSongKey.G,
                            KeyVariation = SongKeyVariation.Natural,
                            Contents = @"
[Intro]
| {G} // | {Gsus} {G} | // | {Gsus} {G} |

[Verse 1]

{G}I've heard a {Gsus}thousand {G}stories
Of what they {Gsus}think You're {G}like
But I've heard the {Gsus}tender {G}whisper
Of love in the {Gsus}dead of {G}night
And You {C2}tell me {G/B}that You're pleased
And that {Am7}I'm never a{D(add4)}lone

[Chorus]
You're a good, good {C2}Father,
It's who You are, {G/B}it's who You are,
{Am7}It's who You {D(add4)}are
And I'm loved by {C2}You
It's who I am, {G/B}it's who I am
{Am7}It's who I {D(add4)}am

[Verse 2]
Oh and {G}I've seen many searching for
Answers far and wide
But I know we're all searching for answers only You provide
Because You {C2}know just {G/B}what we need
Before {Am7}we say a {D(add4)}word

[Chorus]

[Bridge]
Because You are {C2} perfect
In all of Your {Em7}ways
You are {Am7}perfect in all of Your {G}ways
You are {C2} perfect in all of Your {Em7}ways
To {D}us
|2x|

[Verse 3]
Oh this {G}
Love so {Gsus} undeni{G}able
I, I can {Gsus}hardly {G}speak
Peace so {Gsus}unex{G}plainable
I, I can {Gsus}hardly {G}think
As You {C2}call me, {G/B}deeper still
As You {Am7}call me {G/B}deeper still
As You {C2}call me {G/B}deeper still
Into {Am7}love, love, {D(add4)love

[Chorus]
|2x|

[Outro]
You are {C2}perfect in all of Your {G}ways {Am7} {D}
You are {C2}perfect in all of Your {G}ways {Em} {D}",
                        },
                    },
                },
            });
        }
コード例 #4
0
 /// <summary>
 /// Gets a list of arrangements.
 /// </summary>
 /// <returns>The list of arrangements</returns>
 public static List <Arrangement> GetArrangements()
 {
     return(MockSeedData.GetSongs().SelectMany(s => s.Arrangements).ToList());
 }