示例#1
0
 public AddSourceFileTask()
 {
     Location = new SourceRelativeLocation();
     ExtContext.Instance.RefreshModules();
     Location.Module = ExtContext.Instance.AvailableModules.FirstOrDefault();//Utils.GetDefaultModule();
     Reflected       = false;
 }
示例#2
0
        public AddTypeTask()
        {
            Location = new SourceRelativeLocation();
            ExtContext.Instance.RefreshModules();
            Location.Module = ExtContext.Instance.AvailableModules.FirstOrDefault();//Utils.GetDefaultModule();

            Export = false;

            if (Variant == AddableTypeVariant.UClass)
            {
                Base = EngineTypes.UClasses.FirstOrDefault();
            }
        }