public DataPanePopupCallback(DataSchemaItem dataSchemaItem) { DataSchemaNode parent = dataSchemaItem.DataSchemaNode.Parent; dataSchemaItem.DataSourceNode.DocumentNode.TypeResolver.GetType(parent.Type); this.property = DesignDataConfigurationButton.WritablePropertyFromSchemaItem(dataSchemaItem); this.designDataFile = DesignDataHelper.GetDesignDataFile(dataSchemaItem.DataSourceNode.DocumentNode); this.stringConfigurator = new SampleStringConfiguration(SampleDataFormatHelper.NormalizeFormat(SampleBasicType.String, (string)null, false), (string)null); }
public StringValueGenerator() { this.valueGenerator = new SampleStringConfiguration(SampleDataConfigurationOption.StringFormatRandomLatin.StringValue, string.Empty); this.valueGenerator.SetConfigurationValue(ConfigurationPlaceholder.RandomLatinWordLength, (object)10); this.valueGenerator.SetConfigurationValue(ConfigurationPlaceholder.RandomLatinWordCount, (object)5); }