2 implementations of IObjectWriter
NuGet.Packaging (1)
RuntimeModel\JsonObjectWriter.cs (1)
15
public sealed class JsonObjectWriter :
IObjectWriter
, IDisposable
NuGet.ProjectModel (1)
HashObjectWriter.cs (1)
18
public sealed class HashObjectWriter :
IObjectWriter
, IDisposable
34 references to IObjectWriter
NuGet.Packaging (5)
RuntimeModel\JsonRuntimeFormat.cs (5)
68
public static void WriteRuntimeGraph(
IObjectWriter
writer, RuntimeGraph runtimeGraph)
104
private static void WriteRuntimeDescription(
IObjectWriter
writer, RuntimeDescription data)
122
private static void WriteRuntimeDependencySet(
IObjectWriter
writer, RuntimeDependencySet data)
138
private static void WritePackageDependency(
IObjectWriter
writer, RuntimePackageDependency data)
143
private static void WriteCompatibilityProfile(
IObjectWriter
writer, CompatibilityProfile data)
NuGet.ProjectModel (29)
DependencyGraphSpec.cs (2)
369
private void Write(RuntimeModel.
IObjectWriter
writer, bool hashing, Action<PackageSpec, RuntimeModel.
IObjectWriter
, bool, IEnvironmentVariableReader> writeAction)
LockFile\LockFileFormat.cs (2)
178
private static void WriteLockFile(JsonWriter writer,
IObjectWriter
jsonObjectWriter, LockFile lockFile)
561
private static void WriteCentralTransitiveDependencyGroup(
IObjectWriter
writer, IList<CentralTransitiveDependencyGroup> centralTransitiveDependencyGroups)
PackageSpecWriter.cs (25)
31
public static void Write(PackageSpec packageSpec,
IObjectWriter
writer)
36
internal static void Write(PackageSpec packageSpec,
IObjectWriter
writer, bool hashing, IEnvironmentVariableReader environmentVariableReader)
41
internal static void Write(PackageSpec packageSpec,
IObjectWriter
writer, bool hashing, IEnvironmentVariableReader environmentVariableReader, bool useLegacyWriter)
85
private static void SetMSBuildMetadata(
IObjectWriter
writer, PackageSpec packageSpec, IEnvironmentVariableReader environmentVariableReader, bool useTargetFrameworkAsKey)
162
private static void WriteMetadataBooleans(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
178
private static void WriteNuGetLockFileProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
195
private static void WriteNuGetAuditProperties(
IObjectWriter
writer, RestoreAuditProperties auditProperties)
220
private static void WriteMetadataTargetFrameworks(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata, bool useTargetFrameworkAsKey)
277
private static void WriteMetadataFiles(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
292
private static void WriteMetadataSources(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
308
private static void SetWarningProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
353
private static void SetDependencies(
IObjectWriter
writer, IEnumerable<LibraryDependency> libraryDependencies)
363
internal static void SetDependencies(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
454
internal static void SetCentralTransitveDependencyGroup(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
488
private static void SetImports(
IObjectWriter
writer, ImmutableArray<NuGetFramework> frameworks)
498
private static void SetDownloadDependencies(
IObjectWriter
writer, ImmutableArray<DownloadDependency> downloadDependencies)
520
private static void SetFrameworks(
IObjectWriter
writer, IList<TargetFrameworkInformation> frameworks, bool hashing, bool useTargetFrameworkAsKey)
569
private static void SetFrameworkReferences(
IObjectWriter
writer, IReadOnlyCollection<FrameworkDependency> frameworkReferences)
585
private static void SetCentralDependencies(
IObjectWriter
writer, int count, IEnumerable<CentralPackageVersion> centralPackageVersions, bool hashing)
602
private static void SetPackagesToPrune(
IObjectWriter
writer, IReadOnlyDictionary<string, PrunePackageReference> packagesToPrune, bool hashing)
619
private static void SetValueIfTrue(
IObjectWriter
writer, string name, bool value)
627
private static void SetValueIfFalse(
IObjectWriter
writer, string name, bool value)
635
private static void SetValueIfNotNull(
IObjectWriter
writer, string name, string value)
643
private static void SetValue(
IObjectWriter
writer, string name, string value)
651
private static void SetArrayValue(
IObjectWriter
writer, string name, IEnumerable<string> values)