|
CommonUtilSerializeSimpleJoined Method
|
Serialize the root properties of an object into a culture-neutral joined string of key=value tokens.
Namespace: RCS.Carbon.SharedAssembly: RCS.Carbon.Shared (in RCS.Carbon.Shared.dll) Version: 9.0.12
Syntax public static string SerializeSimpleJoined(
Object source,
Type attribute,
string joiner = ""
)
Parameters
- source Object
- Object to be serialized.
- attribute Type
- Optional attribute type to filter which properties will be selected. Null to select all.
Only public instance properties are selected in all cases.
- joiner String (Optional)
- String to join the property tokens. Default is the newline character ("\n")
Return Value
StringA joined string that serializes properties in a simple way.
See Also