Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Minio.Examples/Cases/SelectObjectContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ public static async Task Run(
CompressionType = SelectCompressionType.NONE,
CSV = new CSVInputOptions
{
FileHeaderInfo = CSVFileHeaderInfo.None,
RecordDelimiter = "\n",
FieldDelimiter = ",",
},
FileHeaderInfo = CSVFileHeaderInfo.None, RecordDelimiter = "\n", FieldDelimiter = ","
}
};
var outputSerialization = new SelectObjectOutputSerialization
{
CSV = new CSVOutputOptions { RecordDelimiter = "\n", FieldDelimiter = "," },
CSV = new CSVOutputOptions { RecordDelimiter = "\n", FieldDelimiter = "," }
};
var args = new SelectObjectContentArgs()
.WithBucket(bucketName)
Expand Down
5 changes: 1 addition & 4 deletions Minio.Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,7 @@ await PutObject
// Uncomment to specify SSE-KMS encryption option
var sseKms = new SSEKMS(
"kms-key",
new Dictionary<string, string>(StringComparer.Ordinal)
{
{ "kms-context", "somevalue" },
}
new Dictionary<string, string>(StringComparer.Ordinal) { { "kms-context", "somevalue" } }
);

// Upload encrypted object
Expand Down
Loading