Пример #1
0
        public override void Apply()
        {
            switch (Dependent)
            {
            case NounBuilder nounDependent:
                switch (Governor)
                {
                case NounBuilder nounGovernor:
                    if (nounDependent.IsObjectOfPreposition)
                    {
                        PrepositionBuilder         prepositionGoverningDependent = nounDependent.GoverningPreposition;
                        PrepositionalPhraseBuilder phraseOfGoverningPreposition  = prepositionGoverningDependent.ParentPrepositionalPhrase;
                        phraseOfGoverningPreposition.Modify(nounGovernor);
                    }
                    break;

                default: break;
                }
                break;

            default: break;
            }
        }
Пример #2
0
 internal PrepositionalPhraseProperties(PrepositionalPhraseBuilder ppb) : base(ppb)
 {
     Model = ppb;
 }