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)
377
private void Write(RuntimeModel.
IObjectWriter
writer, bool hashing, Action<PackageSpec, RuntimeModel.
IObjectWriter
, bool, IEnvironmentVariableReader> writeAction)
LockFile\LockFileFormat.cs (2)
179
private static void WriteLockFile(JsonWriter writer,
IObjectWriter
jsonObjectWriter, LockFile lockFile)
570
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)
90
private static void SetMSBuildMetadata(
IObjectWriter
writer, PackageSpec packageSpec, bool hashing, IEnvironmentVariableReader environmentVariableReader, bool useTargetFrameworkAsKey)
167
private static void WriteMetadataBooleans(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
184
private static void WriteNuGetLockFileProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
201
private static void WriteNuGetAuditProperties(
IObjectWriter
writer, RestoreAuditProperties auditProperties)
226
private static void WriteMetadataTargetFrameworks(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata, bool hashing, bool useTargetFrameworkAsKey)
283
private static void WriteMetadataFiles(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
298
private static void WriteMetadataSources(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
314
private static void SetWarningProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
359
private static void SetDependencies(
IObjectWriter
writer, IEnumerable<LibraryDependency> libraryDependencies)
369
internal static void SetDependencies(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
460
internal static void SetCentralTransitveDependencyGroup(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
494
private static void SetImports(
IObjectWriter
writer, ImmutableArray<NuGetFramework> frameworks)
504
private static void SetDownloadDependencies(
IObjectWriter
writer, ImmutableArray<DownloadDependency> downloadDependencies)
526
private static void SetFrameworks(
IObjectWriter
writer, IList<TargetFrameworkInformation> frameworks, bool hashing, bool useTargetFrameworkAsKey)
575
private static void SetFrameworkReferences(
IObjectWriter
writer, IReadOnlyCollection<FrameworkDependency> frameworkReferences)
591
private static void SetCentralDependencies(
IObjectWriter
writer, int count, IEnumerable<CentralPackageVersion> centralPackageVersions, bool hashing)
608
private static void SetPackagesToPrune(
IObjectWriter
writer, IReadOnlyDictionary<string, PrunePackageReference> packagesToPrune, bool hashing)
625
private static void SetValueIfTrue(
IObjectWriter
writer, string name, bool value)
633
private static void SetValueIfFalse(
IObjectWriter
writer, string name, bool value)
641
private static void SetValueIfNotNull(
IObjectWriter
writer, string name, string value)
649
private static void SetValue(
IObjectWriter
writer, string name, string value)
657
private static void SetArrayValue(
IObjectWriter
writer, string name, IEnumerable<string> values)