public override void Initialize(Properties properties) { _visualDebuggingConfig = new VisualDebuggingConfig(); properties.AddProperties(_visualDebuggingConfig.defaultProperties, false); _visualDebuggingConfig.Configure(properties); _scriptingDefineSymbols = new ScriptingDefineSymbols(); _enableVisualDebugging = !_scriptingDefineSymbols.buildTargetToDefSymbol.Values .All <string>(defs => defs.Contains(ENTITAS_DISABLE_VISUAL_DEBUGGING)); }
void drawConfigurables() { var configurables = getConfigurables(); _properties.AddProperties(configurables, false); foreach (var kv in configurables.OrderBy(kv => kv.Key)) { _properties[kv.Key] = EditorGUILayout.TextField(kv.Key.ShortTypeName().ToSpacedCamelCase(), _properties[kv.Key]); } }
public override void Initialize(Properties properties) { _properties = properties; _codeGeneratorConfig = new CodeGeneratorConfig(); properties.AddProperties(_codeGeneratorConfig.defaultProperties, false); _codeGeneratorConfig.Configure(properties); _types = CodeGeneratorUtil.LoadTypesFromPlugins(properties); initPhase <ICodeGeneratorDataProvider>(_types, out _availableDataProviderTypes, out _availableDataProviderNames); initPhase <ICodeGenerator>(_types, out _availableGeneratorTypes, out _availableGeneratorNames); initPhase <ICodeGenFilePostProcessor>(_types, out _availablePostProcessorTypes, out _availablePostProcessorNames); _properties.AddProperties(getConfigurables(), false); }
public override void Initialize(Properties properties) { mProperties = properties; mCodeGeneratorConfig = new CodeGeneratorConfig(); properties.AddProperties(mCodeGeneratorConfig.DefaultProperties, false); mCodeGeneratorConfig.Configure(properties); mTypes = CodeGeneratorUtil.LoadTypesFromPlugins(properties); InitPhase <ICodeGeneratorDataProvider>(mTypes, out mAvailableDataProviderTypes, out mAvailableDataProviderNames); InitPhase <ICodeGenerator>(mTypes, out mAvailableGeneratorTypes, out mAvailableGeneratorNames); InitPhase <ICodeGenFilePostProcessor>(mTypes, out mAvailablePostProcessorTypes, out mAvailablePostProcessorNames); mProperties.AddProperties(GetConfigurables(), false); }
/// <summary> /// Try to update the project data given a project started event. This is useful if the project /// was created (e.g. as a parent) before we saw the started event. /// <remarks>Does nothing if the data has already been set or the new data is null.</remarks> /// </summary> /// <param name="projectStartedEventArgs">The <see cref="ProjectStartedEventArgs"/> instance containing the event data.</param> public void TryUpdate(ProjectStartedEventArgs projectStartedEventArgs) { if (Name == null && projectStartedEventArgs != null) { StartTime = projectStartedEventArgs.Timestamp; Name = projectStartedEventArgs.Message; _projectFile = projectStartedEventArgs.ProjectFile; if (projectStartedEventArgs.GlobalProperties != null) { Properties.AddProperties(projectStartedEventArgs.GlobalProperties); } if (projectStartedEventArgs.Properties != null) { Properties.AddProperties(projectStartedEventArgs.Properties.Cast <DictionaryEntry>()); } } }
public void LoadProperties() { if ("Grid".Equals(Tag)) { Attributes = Properties.AddProperties(propertiesGrid, Password, Visible, Element); } else { if ("Window".Equals(Tag)) { Attributes = Properties.AddProperties(propertiesWindow, Password, Visible, Element); } else { Attributes = Properties.AddProperties(propertiesBase, Password, Visible, Element); } } }
public AtsElement(AutomationElement elem, string[] attributes) : this(elem) { Attributes = Properties.AddProperties(attributes, Password, Visible, elem); }