Ejemplo n.º 1
0
        public INegation Past()
        {
            state |= SentenceState.Past;

            FirstVerb.Form = VerbForms.V2;

            return(this);
        }
Ejemplo n.º 2
0
        public INegation Past()
        {
            state |= SentenceState.Past;

            FirstVerb.Form = VerbForms.V2;

            return this;
        }
Ejemplo n.º 3
0
        public IActive Passive()
        {
            state |= SentenceState.Passive;

            FirstVerb.Form = VerbForms.V3;

            words.Insert(1, Verb.Create("be"));

            return this;
        }
Ejemplo n.º 4
0
        public IPerfect Progressive()
        {
            state |= SentenceState.Progressive;

            FirstVerb.Form = VerbForms.VIng;

            words.Insert(1, Verb.Create("be"));

            return(this);
        }
Ejemplo n.º 5
0
        public IActive Passive()
        {
            state |= SentenceState.Passive;

            FirstVerb.Form = VerbForms.V3;

            words.Insert(1, Verb.Create("be"));

            return(this);
        }
Ejemplo n.º 6
0
        public IFuture Perfect()
        {
            if ((state & SentenceState.Passive) != 0 && (state & SentenceState.Progressive) != 0)
            {
                throw new NotSupportedException();
            }

            state |= SentenceState.Perfect;

            FirstVerb.Form = VerbForms.V3;

            words.Insert(1, Verb.Create("have"));

            return(this);
        }
Ejemplo n.º 7
0
        public IPast Future()
        {
            if ((state & SentenceState.Passive) != 0 && (state & SentenceState.Progressive) != 0)
            {
                throw new NotSupportedException();
            }

            state |= SentenceState.Future;

            string verbString = GetPersonNumber(words[0]) == VerbPersonNumber.FirstSingular
                                    ? "shall"
                                    : "will";

            words.Insert(1, Verb.Create(verbString));

            return this;
        }
Ejemplo n.º 8
0
        public IPast Future()
        {
            if ((state & SentenceState.Passive) != 0 && (state & SentenceState.Progressive) != 0)
            {
                throw new NotSupportedException();
            }

            state |= SentenceState.Future;

            string verbString = GetPersonNumber(words[0]) == VerbPersonNumber.FirstSingular
                                            ? "shall"
                                            : "will";

            words.Insert(1, Verb.Create(verbString));

            return(this);
        }
Ejemplo n.º 9
0
        public IFuture Perfect()
        {
            if ((state & SentenceState.Passive) != 0 && (state & SentenceState.Progressive) != 0)
            {
                throw new NotSupportedException();
            }

            state |= SentenceState.Perfect;

            FirstVerb.Form = VerbForms.V3;

            words.Insert(1, Verb.Create("have"));

            return this;
        }
Ejemplo n.º 10
0
        public IPerfect Progressive()
        {
            state |= SentenceState.Progressive;

            FirstVerb.Form = VerbForms.VIng;

            words.Insert(1, Verb.Create("be"));

            return this;
        }