The elementary code-style document does recommend one file per class but I guess it is not mandatory. Another option would be to have a single class with three construction methods:
new PropertiesLabel.header (string txt)
new PropertiesLabel.key (string txt)
new PropertiesLabel.value (string txt)
I agree the namespace stuff can be left for another branch.
The elementary code-style document does recommend one file per class but I guess it is not mandatory. Another option would be to have a single class with three construction methods: .header (string txt) .value (string txt)
new PropertiesLabel
new PropertiesLabel.key (string txt)
new PropertiesLabel
I agree the namespace stuff can be left for another branch.