Skip to content

Allow MemoryStreamFactory to be pluggable #4202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

Mpdreamz
Copy link
Member

No description provided.

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

/// <summary>
/// A factory for creating memory streams using instances of <see cref="MemoryStream" />
/// </summary>
public class MemoryStreamFactory : IMemoryStreamFactory
{
public static MemoryStreamFactory Default { get; } = new MemoryStreamFactory();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should rename these to .Instance in future?

Copy link
Member Author

@Mpdreamz Mpdreamz Nov 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to roll with .Instance 👍

Mpdreamz added a commit that referenced this pull request Nov 12, 2019
* Adds versioned benchmarking

Allows the benchmarking project to reference Nest.v7 and so makes it
easier for us to benchmark proposed changes.

* fix compilation errors and temporarily disable dependency on #4202
Mpdreamz added a commit that referenced this pull request Nov 12, 2019
* Adds versioned benchmarking

Allows the benchmarking project to reference Nest.v7 and so makes it
easier for us to benchmark proposed changes.

* fix compilation errors and temporarily disable dependency on #4202

(cherry picked from commit 16d8a08)
@Mpdreamz Mpdreamz merged commit 0b23cd7 into 7.x Nov 12, 2019
@Mpdreamz Mpdreamz deleted the fix/7.x/memory-stream-factory branch November 12, 2019 12:14
Mpdreamz added a commit that referenced this pull request Nov 12, 2019
@Mpdreamz
Copy link
Member Author

ported to master

Mpdreamz added a commit that referenced this pull request Nov 12, 2019
* Adds versioned benchmarking (#4206)

* Adds versioned benchmarking

Allows the benchmarking project to reference Nest.v7 and so makes it
easier for us to benchmark proposed changes.

* fix compilation errors and temporarily disable dependency on #4202

(cherry picked from commit 16d8a08)

* update to nest 8 versioned client for master
russcam pushed a commit that referenced this pull request Nov 15, 2019
russcam pushed a commit that referenced this pull request Nov 15, 2019
* Adds versioned benchmarking

Allows the benchmarking project to reference Nest.v7 and so makes it
easier for us to benchmark proposed changes.

* fix compilation errors and temporarily disable dependency on #4202

(cherry picked from commit 16d8a08)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants