Lucene.Net.Util.LuceneTestCase.NewTextField C# (CSharp) Méthode

NewTextField() public méthode

LUCENENET specific Is non-static because OLD_FORMAT_IMPERSONATION_IS_ACTIVE is also non-static to reduce hidden dependencies on this variable.
public NewTextField ( Random random, string name, string value, Field stored ) : Field
random Random
name string
value string
stored Field
Résultat Field
        public Field NewTextField(Random random, string name, string value, Field.Store stored)
        {
            return NewField(random, name, value, stored == Field.Store.YES ? TextField.TYPE_STORED : TextField.TYPE_NOT_STORED);
        }

Same methods

LuceneTestCase::NewTextField ( string name, string value, Field stored ) : Field