31 references to Attributes
Microsoft.VisualBasic.Forms (24)
Microsoft\VisualBasic\Logging\FileLogTraceListener.vb (24)
198
If
Attributes
.ContainsKey(KEY_APPEND) Then
199
Me.Append = Convert.ToBoolean(
Attributes
(KEY_APPEND), CultureInfo.InvariantCulture)
225
If
Attributes
.ContainsKey(KEY_AUTOFLUSH) Then
226
Me.AutoFlush = Convert.ToBoolean(
Attributes
(KEY_AUTOFLUSH), CultureInfo.InvariantCulture)
246
If
Attributes
.ContainsKey(KEY_BASEFILENAME) Then
247
Me.BaseFileName =
Attributes
(KEY_BASEFILENAME)
277
If
Attributes
.ContainsKey(KEY_CUSTOMLOCATION) Then
278
Me.CustomLocation =
Attributes
(KEY_CUSTOMLOCATION)
316
If
Attributes
.ContainsKey(KEY_DELIMITER) Then
317
Me.Delimiter =
Attributes
(KEY_DELIMITER)
336
If
Attributes
.ContainsKey(KEY_DISKSPACEEXHAUSTEDBEHAVIOR) Then
338
Me.DiskSpaceExhaustedBehavior = DirectCast(converter.ConvertFromInvariantString(
Attributes
(KEY_DISKSPACEEXHAUSTEDBEHAVIOR)), DiskSpaceExhaustedOption)
362
If
Attributes
.ContainsKey(KEY_ENCODING) Then
363
Me.Encoding = Encoding.GetEncoding(
Attributes
(KEY_ENCODING))
385
If
Attributes
.ContainsKey(KEY_INCLUDEHOSTNAME) Then
386
Me.IncludeHostName = Convert.ToBoolean(
Attributes
(KEY_INCLUDEHOSTNAME), CultureInfo.InvariantCulture)
405
If
Attributes
.ContainsKey(KEY_LOCATION) Then
407
Me.Location = DirectCast(converter.ConvertFromInvariantString(
Attributes
(KEY_LOCATION)), LogFileLocation)
431
If
Attributes
.ContainsKey(KEY_LOGFILECREATIONSCHEDULE) Then
433
Me.LogFileCreationSchedule = DirectCast(converter.ConvertFromInvariantString(
Attributes
(KEY_LOGFILECREATIONSCHEDULE)), LogFileCreationScheduleOption)
457
If
Attributes
.ContainsKey(KEY_MAXFILESIZE) Then
458
Me.MaxFileSize = Convert.ToInt64(
Attributes
(KEY_MAXFILESIZE), CultureInfo.InvariantCulture)
480
If
Attributes
.ContainsKey(KEY_RESERVEDISKSPACE) Then
481
Me.ReserveDiskSpace = Convert.ToInt64(
Attributes
(KEY_RESERVEDISKSPACE), CultureInfo.InvariantCulture)
System.Configuration.ConfigurationManager (2)
System\Diagnostics\ListenerElementsCollection.cs (2)
211
TraceUtils.CopyStringDictionary(Attributes, newListener.
Attributes
);
342
TraceUtils.CopyStringDictionary(Attributes, listener.
Attributes
);
System.Diagnostics.TextWriterTraceListener (2)
System\Diagnostics\DelimitedListTraceListener.cs (2)
52
if (
Attributes
.ContainsKey(DelimiterKey))
54
string? delimiter =
Attributes
[DelimiterKey];
System.Diagnostics.TraceSource (3)
System\Diagnostics\TraceSource.cs (3)
516
TraceUtils.VerifyAttributes(listener.
Attributes
, listener.GetSupportedAttributes(), this);
528
TraceUtils.VerifyAttributes(listener.
Attributes
, listener.GetSupportedAttributes(), this);
533
TraceUtils.VerifyAttributes(listener.
Attributes
, listener.GetSupportedAttributes(), this);