public void CopyInto(AttachedYamlAssetMetadata target) { foreach (var metadata in yamlMetadata) { target.yamlMetadata.Add(metadata.Key, metadata.Value); } }
internal static AttachedYamlAssetMetadata FromPropertyContainer(PropertyContainer container) { var result = new AttachedYamlAssetMetadata(); foreach (var property in container) { result.yamlMetadata.Add(property.Key, (IYamlAssetMetadata)property.Value); } return(result); }