AIMA.Core.Agent.Impl.ObjectWithDynamicAttributes.describeAttributes C# (CSharp) Method

describeAttributes() public method

public describeAttributes ( ) : String
return String
	public String describeAttributes() {
		StringBuilder sb = new StringBuilder();

		sb.Append("[");
		bool first = true;
		foreach (Object key in attributes.Keys) {
			if (first) {
				first = false;
			} else {
                sb.Append(", ");
			}

            sb.Append(key);
            sb.Append("==");
            sb.Append(attributes[key]);
		}
        sb.Append("]");

		return sb.ToString();
	}