Skip to content

SetFile

Namespace Nfty.Core.Output in assembly Nfty.Core.

public sealed record SetFile

One file a modeler produced for an asset.

Constructors

SetFile(string, byte[])

public SetFile(string FileName, byte[] Bytes);

Parameters

  • FileName (string) - A bare file name, written to models/. A name with a directory part is refused.
  • Bytes (byte[]) - The file's contents.

Properties

Bytes

public byte[] Bytes { get; init; }

The file's contents.

FileName

public string FileName { get; init; }

A bare file name, written to models/. A name with a directory part is refused.