/// <summary> /// Writes property name /// </summary> /// <param name="name"></param> public void WriteName(string name) { var nameIndex = _names.GetIndexOfItem(name); _cache.Add(new NumberWriteCommand(nameIndex)); }
/// <summary> /// Writes type /// </summary> /// <param name="type"></param> public void WriteType(Type type) { var typeIndex = _types.GetIndexOfItem(type); _cache.Add(new NumberWriteCommand(typeIndex)); }