using System; using System.Collections.Generic; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using rhoruntime; namespace rho { namespace MediaplayerImpl { public class Mediaplayer : IMediaplayerImpl { public Mediaplayer() { var _runtime = new MediaplayerRuntimeComponent(this); } public void enable(IReadOnlyDictionary propertyMap, IMethodResult oResult) { // implement this method in C# here } public void start(IMethodResult oResult) { // implement this method in C# here } public void stop(IMethodResult oResult) { // implement this method in C# here } public void disable(IMethodResult oResult) { // implement this method in C# here } public void take(IReadOnlyDictionary propertyMap, IMethodResult oResult) { // implement this method in C# here } public void getProperty(string propertyName, IMethodResult oResult) { // implement this method in C# here } public void getProperties(IReadOnlyList arrayofNames, IMethodResult oResult) { // implement this method in C# here } public void getAllProperties(IMethodResult oResult) { // implement this method in C# here } public void setProperty(string propertyName, string propertyValue, IMethodResult oResult) { // implement this method in C# here } public void setProperties(IReadOnlyDictionary propertyMap, IMethodResult oResult) { // implement this method in C# here } public void clearAllProperties(IMethodResult oResult) { // implement this method in C# here } } public class MediaplayerSingleton : IMediaplayerSingletonImpl { public MediaplayerSingleton() { var _runtime = new MediaplayerSingletonComponent(this); } public void enumerate(IMethodResult oResult) { // implement this method in C# here } } public class MediaplayerFactory : IMediaplayerFactoryImpl { public IMediaplayerImpl getImpl() { return new Mediaplayer(); } public IMediaplayerSingletonImpl getSingletonImpl() { return new MediaplayerSingleton(); } } } }