//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void replayOnto(InputEntityVisitor visitor) throws java.io.IOException public virtual void ReplayOnto(InputEntityVisitor visitor) { // properties if (HasPropertyId) { visitor.PropertyId(PropertyIdConflict); } else if (PropertiesConflict.Count > 0) { int propertyCount = propertyCount(); for (int i = 0; i < propertyCount; i++) { if (HasIntPropertyKeyIds) { visitor.property(( int? )PropertyKey(i), PropertyValue(i)); } else { visitor.Property(( string )PropertyKey(i), PropertyValue(i)); } } } // id if (HasLongId) { visitor.Id(LongId); } else if (ObjectId != null) { visitor.Id(ObjectId, IdGroup); } // labels if (HasLabelField) { visitor.LabelField(LabelFieldConflict); } else if (LabelsConflict.Count > 0) { visitor.Labels(LabelsConflict.ToArray()); } // start id if (HasLongStartId) { visitor.StartId(LongStartId); } else if (ObjectStartId != null) { visitor.StartId(ObjectStartId, StartIdGroup); } // end id if (HasLongEndId) { visitor.EndId(LongEndId); } else if (ObjectEndId != null) { visitor.EndId(ObjectEndId, EndIdGroup); } // type if (HasIntType) { visitor.Type(IntType); } else if (!string.ReferenceEquals(StringType, null)) { visitor.Type(StringType); } // all done visitor.EndOfEntity(); }
public override bool Property(string key, object value) { return(Actual.property(key, value)); }