Click or drag to resize

CommonUtilSerializeSimpleJoined Method

Serialize the root properties of an object into a culture-neutral joined string of key=value tokens.

Namespace: RCS.Carbon.Shared
Assembly: RCS.Carbon.Shared (in RCS.Carbon.Shared.dll) Version: 9.0.12
Syntax
C#
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

String
A joined string that serializes properties in a simple way.
See Also