예제 #1
0
            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);
            }
예제 #2
0
 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);
 }