public string AddRuleField(object dataValue) { string text = this.GenerateUniqueFieldName(); this.AddFieldDefinition(text, CoreSpatialElementManager.GetFieldType(dataValue)); return(text); }
private bool AddFieldDefinition(string fieldUniqueName, object value) { if (value != null) { this.m_spatialElementManager.AddFieldDefinition(fieldUniqueName, CoreSpatialElementManager.GetFieldType(value)); return(true); } return(false); }