Class ParsingContext
Temporary class for recording parsing errors.
Inheritance
System.Object
ParsingContext
Implements
System.IDisposable
Namespace: Emby.Media.Common.DataConversion
Assembly: Emby.Media.Model.dll
Syntax
public class ParsingContext : IDisposable
Remarks
Can be removed later.
Constructors
ParsingContext(StreamBase)
Declaration
public ParsingContext(StreamBase targetStream)
Parameters
Type | Name | Description |
---|---|---|
StreamBase | targetStream |
Properties
HasParsingErrors
Declaration
public bool HasParsingErrors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ParsingErrors
Declaration
public ReadOnlyCollection<ParsingContext.ParsingError> ParsingErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<ParsingContext.ParsingError> |
Methods
AddParsingError(String, Type, String)
Declaration
public void AddParsingError(string propertyName, Type propertyType, string offendingValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.Type | propertyType | |
System.String | offendingValue |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
System.IDisposable