internal static IEnumerable <SimpleFieldDescription> CreateArrayField(ITypeDescription type) { var arrayType = ArrayDescription.Create(type, 1); return(new[] { SimpleFieldDescription.Create(FieldName, arrayType) }); }
internal static IEnumerable <SimpleFieldDescription> CreateField(string fieldName, ITypeDescription type) { return(new[] { SimpleFieldDescription.Create(fieldName, type) }); }