OneDrive/CommandOptions/ThumbnailRetrievalOptions.cs
/// <summary>
/// Returns a string like "select=small,medium" that can be used in an expand parameter value
/// </summary>
/// <returns></returns>
Returns a string like "select=small,medium" that can be used in an expand parameter value
Returns a string like " select = small medium " that can be used in an expand parameter value
public override IEnumerable<ODataOption> ToOptions()
        {
            List<ODataOption> options = new List<ODataOption>();
            SelectOData thumbnailSelect = null;
            if (SelectThumbnailNames != null && SelectThumbnailNames.Length > 0)
            {
                thumbnailSelect = new SelectOData { FieldNames = SelectThumbnailNames };
                options.Add(thumbnailSelect);
            }
            return options;
        }
public override IEnumerable < ODataOption > ToOptions ( ) { List < ODataOption > options = new List < ODataOption > ( ) ; SelectOData thumbnailSelect = null ; if ( SelectThumbnailNames != null && SelectThumbnailNames . Length > 0 ) { thumbnailSelect = new SelectOData { FieldNames = SelectThumbnailNames } ; options . Add ( thumbnailSelect ) ; } return options ; }
Returns a string like "select=small,medium" that can be used in an expand parameter value
Returns a string like " select = small medium " that can be used in an expand parameter value
None