public partial class Device : MarshalByRefObject
{
internal bool FindTagName(string name, OneTag tag)
{
foreach (FuncSect fs in listFuncSect)
{
foreach (OneTag ot in fs.listTags)
{
if (ot != tag && ot.Name == name) return true;
}
}
return false;
}
still have no idea how to convert this “partial” and “internal” to F#
thank you
As leppie says, there’s no direct support for
partial, although you could achieve a similar effect with intrinsic type extensions. F# does supportinternalmethods, so your example would look like: