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)
85
private static void SetMSBuildMetadata(
IObjectWriter
writer, PackageSpec packageSpec, IEnvironmentVariableReader environmentVariableReader, bool useTargetFrameworkAsKey)
162
private static void WriteMetadataBooleans(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
179
private static void WriteNuGetLockFileProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
196
private static void WriteNuGetAuditProperties(
IObjectWriter
writer, RestoreAuditProperties auditProperties)
221
private static void WriteMetadataTargetFrameworks(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata, bool useTargetFrameworkAsKey)
278
private static void WriteMetadataFiles(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
293
private static void WriteMetadataSources(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
309
private static void SetWarningProperties(
IObjectWriter
writer, ProjectRestoreMetadata msbuildMetadata)
354
private static void SetDependencies(
IObjectWriter
writer, IEnumerable<LibraryDependency> libraryDependencies)
364
internal static void SetDependencies(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
455
internal static void SetCentralTransitveDependencyGroup(
IObjectWriter
writer, string name, IEnumerable<LibraryDependency> libraryDependencies)
489
private static void SetImports(
IObjectWriter
writer, ImmutableArray<NuGetFramework> frameworks)
499
private static void SetDownloadDependencies(
IObjectWriter
writer, ImmutableArray<DownloadDependency> downloadDependencies)
521
private static void SetFrameworks(
IObjectWriter
writer, IList<TargetFrameworkInformation> frameworks, bool hashing, bool useTargetFrameworkAsKey)
570
private static void SetFrameworkReferences(
IObjectWriter
writer, IReadOnlyCollection<FrameworkDependency> frameworkReferences)
586
private static void SetCentralDependencies(
IObjectWriter
writer, int count, IEnumerable<CentralPackageVersion> centralPackageVersions, bool hashing)
603
private static void SetPackagesToPrune(
IObjectWriter
writer, IReadOnlyDictionary<string, PrunePackageReference> packagesToPrune, bool hashing)
620
private static void SetValueIfTrue(
IObjectWriter
writer, string name, bool value)
628
private static void SetValueIfFalse(
IObjectWriter
writer, string name, bool value)
636
private static void SetValueIfNotNull(
IObjectWriter
writer, string name, string value)
644
private static void SetValue(
IObjectWriter
writer, string name, string value)
652
private static void SetArrayValue(
IObjectWriter
writer, string name, IEnumerable<string> values)