MongoDB.GridFS.GridFSExtensions.FindFile C# (CSharp) Метод

FindFile() статический приватный Метод

static private FindFile ( this col, string name ) : Doc
col this
name string
Результат Doc
        internal static Doc FindFile(this Collection col, string name)
        {
            var files = col.FilesCollection();
              files.CreateIndex(new Index { { "filename", Mongo.Dir.Asc } }, true);
              return files.FindOne(new Doc { { "filename", name } });
        }