public class SomeViewModel : IFilesDropped { public void OnFilesDropped(string[] files) { // Implement some logic here } }