Skip to content

Direct use of query syntax using reflection #9

@1172465532

Description

@1172465532
Everything ET = new Everything();
ET.ResulKind=ResultKind.FilesOnly;
ET.SortKey = SortingKey.DateModifiedDescending;
IQuery query = ET.Search();
Type T=query.Not.GetType();
IQuery result = ((IQuery)T.GetConstructors()[0].Invoke(new object[]{ET,query,@"ext:PDF  size:>100000  !$  !D:\"}));
var final= result.Name;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions