Beispiel #1
0
        public CompatIos()
        {
            IgnorePaths.Add("Compat.iOS.cs");

            GlobalReplacements.Add(new XamarinCompatReplacement("MonoTouch"));
            EnumBackingTypeReplacements.Add(new XamarinCompatReplacement("MonoTouch"));
        }
        public CompatMac()
        {
            CompilerOptions.Add("-sdk:4.0");
            CompilerOptions.Add("-define:ARCH_32");
            CompilerOptions.Add("-define:XAMMAC_SYSTEM_MONO");

            IgnorePaths.Add("Compat.mac.cs");

            GlobalReplacements.Add(new XamarinCompatReplacement("MonoMac"));
            EnumBackingTypeReplacements.Add(new XamarinCompatReplacement("MonoMac"));
        }
        protected XamCore2Common(ArchDefine arch)
        {
            CompilerOptions.Add("-define:XAMCORE_2_0");

            if (arch != ArchDefine.None)
            {
                CompilerOptions.Add("-define:" + arch.ToString());
            }

            IgnorePaths.Add("Compat.mac.cs");
            IgnorePaths.Add("Compat.iOS.cs");

            GlobalReplacements.Add(new Xamarin20Replacement());
            EnumBackingTypeReplacements.Add(new Xamarin20Replacement());
        }
Beispiel #4
0
 public XamCore2Common()
 {
     GlobalReplacements.Add(new Xamarin20Replacement());
     EnumBackingTypeReplacements.Add(new Xamarin20Replacement());
 }