Skip to content
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

.NET Development #5170

Merged
merged 6 commits into from Nov 21, 2019
Merged

.NET Development #5170

merged 6 commits into from Nov 21, 2019

Conversation

ogoshen
Copy link
Contributor

@ogoshen ogoshen commented Nov 3, 2019

fix for #5054, #5071
Revert some c# sensor API changes back to non-generic

@ogoshen ogoshen changed the title Development .NET Development Nov 3, 2019
/// <param name="other"><see cref="Sensor"/> to clone</param>
/// <returns>an instance of <typeparamref name="T"/></returns>
public static T Create<T>(Sensor other)
where T : Frame
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be where T : Sensor?

/// <typeparam name="T"><see cref="Sensor"/> type or subclass</typeparam>
/// <returns>an instance of <typeparamref name="T"/></returns>
public T As<T>()
where T : Frame
Copy link
Contributor

Choose a reason for hiding this comment

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

where T : Sensor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, thanks!

@dorodnic dorodnic added the .NET label Nov 11, 2019
@dorodnic dorodnic merged commit a381686 into IntelRealSense:development Nov 21, 2019
@JBBee JBBee mentioned this pull request Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants