Search Results for

    Show / Hide Table of Contents

    Class MockResponseProvider

    Inheritance
    System.Object
    MockResponseProvider
    Namespace: PnP.Framework.Utilities.UnitTests.Web
    Assembly: PnP.Framework.dll
    Syntax
    public class MockResponseProvider : object, IMockResponseProvider

    Constructors

    MockResponseProvider(List<MockResponse>)

    Declaration
    public MockResponseProvider(List<MockResponse> responses = null)
    Parameters
    List<MockResponse> responses

    Properties

    Responses

    Declaration
    public List<MockResponse> Responses { get; }
    Property Value
    List<MockResponse>

    Methods

    GetResponse(String, String, String)

    Declaration
    public string GetResponse(string url, string verb, string body)
    Parameters
    System.String url

    System.String verb

    System.String body

    Returns
    System.String

    Implements
    IMockResponseProvider.GetResponse(String, String, String)

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer