Skip to content

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.

3 participants