public VertexTypePredefinition AddBinaryProperty(BinaryPropertyPredefinition myBinaryPropertyPredefinition) { if (myBinaryPropertyPredefinition != null) { _attributes = (_attributes) ?? new List<AttributePredefinition>(); _attributes.Add(myBinaryPropertyPredefinition); _binaries++; } return this; }
/// <summary> /// Adds a binary property. /// </summary> /// <param name="myBinaryPropertyPredefinition">The defintition of the binary property.</param> /// <returns>The reference of the current object. (fluent interface).</returns> public RequestAlterVertexType AddBinaryProperty(BinaryPropertyPredefinition myBinaryPropertyPredefinition) { if (myBinaryPropertyPredefinition != null) { _toBeAddedAttributes = (_toBeAddedAttributes) ?? new List<AttributePredefinition>(); _toBeAddedAttributes.Add(myBinaryPropertyPredefinition); AddBinaryPropertyCount++; } return this; }