Search Results for

    Show / Hide Table of Contents

    Class MockEntryResponseProvider<T>

    Inheritance
    System.Object
    MockEntryResponseProvider<T>
    MockEntryResponseProvider
    Namespace: PnP.Framework.Utilities.UnitTests.Web
    Assembly: PnP.Framework.dll
    Syntax
    public class MockEntryResponseProvider<T> : object, IMockResponseProvider
    Type Parameters
    T

    Constructors

    MockEntryResponseProvider()

    Declaration
    public MockEntryResponseProvider()

    MockEntryResponseProvider(ResponseHeader)

    Declaration
    public MockEntryResponseProvider(ResponseHeader responseHeader)
    Parameters
    ResponseHeader responseHeader

    Properties

    CurrentUrlResponses

    Declaration
    protected List<MockResponseEntry<T>> CurrentUrlResponses { get; set; }
    Property Value
    List<MockResponseEntry<T>>

    ResponseEntries

    Declaration
    public List<MockResponseEntry<T>> ResponseEntries { get; set; }
    Property Value
    List<MockResponseEntry<T>>

    ResponseHeader

    Declaration
    public ResponseHeader ResponseHeader { get; set; }
    Property Value
    ResponseHeader

    Methods

    GetActionObjectPathsFromRequest<T>(CSOMRequest)

    Declaration
    public static List<ActionObjectPath<T>> GetActionObjectPathsFromRequest<T>(CSOMRequest request)
    Parameters
    CSOMRequest request

    Returns
    List<ActionObjectPath<T>>

    Type Parameters
    T

    GetRequest(String)

    Declaration
    public static CSOMRequest GetRequest(string body)
    Parameters
    System.String body

    Returns
    CSOMRequest

    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