Click or drag to resize

imbSCI.Core.attributes Namespace

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Extensive Scientific Data annotation-purpose tools.

Classes
  ClassDescription
Public classaceCriterionConfig
Criterion definition (general purpose, meant for use with imbAttribute
Public classaceRangeConfig
range configuration structure
Public classbasicDisplayItem
2013c> Pomocna klasa - Set standardnih vrednosti koje se opisuju atributima - za potrebe menija itd
Public classExpandableObjectAttribute
Public classimbAttribute
General imbSCI attribute, used for data annotation, report generation, documentation generation and UI auto-configuration
Public classimbAttributeCollection
Public classimbAttributeProfileEngine
Public classimbAttributeTools
Skup alata za rad sa atributima> selektovanje, primena, itd. Kako imbAtributima tako i sa opstim atributima
Public classimbAttributeToPropertyMap
Sadrzi podatke o mapiranju Attribute To Property
Structures
  StructureDescription
Public structureimbHelpContent
Pomocne informacije
Enumerations
  EnumerationDescription
Public enumerationaceReportingMacros
Public enumerationimbAttributeName
Ime podešavanja na koje se odnosi imbAttribut
Remarks

The imbAttribute is used to declare meta information for data agregation, reporting, user-help content creation and similar.

Key pointsDeclare meta annotation for your classesUse imbAttribute with imbAttributeName te control table/column format and legend-content of a property or whole classAggregate dataUse imbSCI.Core.extensions.table and imbSCI.Core.extensions.data to aggregate dataGenerate spreadsheet reportsUse [!:imbSCI.DataComplex.tables] to easly generate feature rich Excel, CSV... reports from object collectionsGenerate text reportsUse settingsEntriesForObject to generate textual description of your (setup, or data report summaries) objects
Examples
.NET Framework's basic attributes are used when possible: [!:DisplayNameAttribute], [!:DescriptionAttribute], [!:CategoryAttribute]
1[Category("Switch")]
2[DisplayName("doSomething")]
3[Description("If true it will do something")]
4public Boolean doSomething { get; set; } = true;
But for more specifics, you can use imbAttribute (_imbSCI* snippets)
1[imb(imbAttributeName.measure_letter, "V")] // --- letter we use in our sci article for some parameter
2[imb(imbAttributeName.measure_setUnit, "sec")] // ----- unit of measure, associated with the property
3[imb(imbAttributeName.reporting_columnWidth, 50)] // ----- width of column in the report spreadsheet
4[imb(imbAttributeName.measure_important)] // ----- tells that this column/property is important, resulting in application of highlighted style in the report
5[imb(imbAttributeName.reporting_valueformat, "#.0")] // --- specifies number format to be applied for cell value, in the report
See Also