FileSystemWatcher的使用Mono在Mac

FileSystemWatcher的使用Mono在Mac

本文介绍了是否.NET FileSystemWatcher的使用Mono在Mac OS工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以写一个微软.NET PROGRAMM有FileSystemWatcher的,并期望它在Mac OS X与工作单不变化呢?

Can I write a Microsoft .NET programm with a FileSystemWatcher and expect it to work under Mac OS X with Mono without changes?

推荐答案

是的,它会工作没有变化。 单包括FileSystemWatcher的所有平台。

Yes, it will work without changes. Mono includes a FileSystemWatcher for all platforms.

请记住,你的code可能想使用Path.PathSeperator要与不同的方式目录名称的格式不同平台上更相容。

Keep in mind that your code might want to use Path.PathSeperator to be more compatible with the different ways directory names are formatted on different platforms.

这篇关于是否.NET FileSystemWatcher的使用Mono在Mac OS工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 17:34