ApiParser.ApiParser.PickExample C# (CSharp) Method

PickExample() private method

private PickExample ( [ details, [ type ) : ApiNode
details [
type [
return ApiNode
        private static ApiNode PickExample([NotNull] ApiNode details, [NotNull] string type)
        {
            var example = details.SelectOne($@"div.subsection/pre.codeExample{type}");
            return example == null || example.Text.StartsWith("no example available") ? null : example;
        }

Same methods

ApiParser::PickExample ( [ details ) : ApiNode