private static IDictionary<string, string> CreateMetadata(DateTimeOffset version, IVersionMetadataMapper mapper, IDictionary<string, string> otherMetadata) { Dictionary<string, string> combinedMetadata = new Dictionary<string, string>(otherMetadata); mapper.SetVersion(version, combinedMetadata); return combinedMetadata; }
private static IDictionary<string, string> CreateMetadata(DateTimeOffset version, IVersionMetadataMapper mapper, string otherKey, string otherValue) { Dictionary<string, string> metadata = new Dictionary<string, string>(); mapper.SetVersion(version, metadata); metadata.Add(otherKey, otherValue); return metadata; }
private static IDictionary<string, string> CreateMetadata(DateTimeOffset version, IVersionMetadataMapper mapper) { Dictionary<string, string> metadata = new Dictionary<string, string>(); mapper.SetVersion(version, metadata); return metadata; }