TargetPlatformAttribute sealed class TargetPlatformAttribute : OSPlatformAttribute Documentation Code public TargetPlatformAttribute(string platformName)