This method takes an object and a description of an object and returns true if the description matches the object.

Namespace: BaseLib.Util
Assembly: BaseLib (in BaseLib.dll) Version: 0.5.0.0

Syntax

C#
public static bool ObjectMatches(
	Thing obj,
	string input,
	bool plural
)

Parameters

obj
Type: BaseLib..::..Thing

[Missing <param name="obj"/> documentation for "M:BaseLib.Util.Parser.ObjectMatches(BaseLib.Thing,System.String,System.Boolean)"]

input
Type: System..::..String

[Missing <param name="input"/> documentation for "M:BaseLib.Util.Parser.ObjectMatches(BaseLib.Thing,System.String,System.Boolean)"]

plural
Type: System..::..Boolean
If this is true match using the plural names of an object, if it is false, use the singular names.

Return Value

[Missing <returns> documentation for "M:BaseLib.Util.Parser.ObjectMatches(BaseLib.Thing,System.String,System.Boolean)"]

See Also