// Token: 0x06001696 RID: 5782 RVA: 0x0007067C File Offset: 0x0006E87C
        private Storyboard GetStoryboard(FrameworkElement fe, FrameworkContentElement fce, INameScope nameScope)
        {
            if (this.BeginStoryboardName == null)
            {
                throw new InvalidOperationException(SR.Get("Storyboard_BeginStoryboardNameRequired"));
            }
            BeginStoryboard beginStoryboard = Storyboard.ResolveBeginStoryboardName(this.BeginStoryboardName, nameScope, fe, fce);
            Storyboard      storyboard      = beginStoryboard.Storyboard;

            if (storyboard == null)
            {
                throw new InvalidOperationException(SR.Get("Storyboard_BeginStoryboardNoStoryboard", new object[]
                {
                    this.BeginStoryboardName
                }));
            }
            return(storyboard);
        }
        // Find a Storyboard object for this StoryboardAction to act on, using the
        //  given BeginStoryboardName to find a BeginStoryboard instance and use
        //  its Storyboard object reference.
        private Storyboard GetStoryboard(FrameworkElement fe, FrameworkContentElement fce, INameScope nameScope)
        {
            if (BeginStoryboardName == null)
            {
                throw new InvalidOperationException(SR.Get(SRID.Storyboard_BeginStoryboardNameRequired));
            }

            BeginStoryboard keyedBeginStoryboard = Storyboard.ResolveBeginStoryboardName(BeginStoryboardName, nameScope, fe, fce);

            Storyboard storyboard = keyedBeginStoryboard.Storyboard;

            if (storyboard == null)
            {
                throw new InvalidOperationException(SR.Get(SRID.Storyboard_BeginStoryboardNoStoryboard, BeginStoryboardName));
            }

            return(storyboard);
        }