Class AlmostVersionConverter
A ValueConverter<T> for AlmostVersions.
Implements
Inherited Members
Namespace: IPA.Utilities
Assembly: IPA.Loader.dll
Syntax
public sealed class AlmostVersionConverter : ValueConverter<AlmostVersion>, IValueConverter
Methods
| Improve this Doc View SourceFromValue(Value, Object)
Converts a Text node into an AlmostVersion.
Declaration
public override AlmostVersion FromValue(Value value, object parent)
Parameters
Type | Name | Description |
---|---|---|
Value | value | the Text node to convert |
Object | parent | the owner of the new object |
Returns
Type | Description |
---|---|
AlmostVersion |
Overrides
IPA.Config.Stores.ValueConverter<IPA.Utilities.AlmostVersion>.FromValue(IPA.Config.Data.Value, System.Object)
|
Improve this Doc
View Source
ToValue(AlmostVersion, Object)
Converts an AlmostVersion to a Text node.
Declaration
public override Value ToValue(AlmostVersion obj, object parent)
Parameters
Type | Name | Description |
---|---|---|
AlmostVersion | obj | the AlmostVersion to convert |
Object | parent | the parent of |
Returns
Type | Description |
---|---|
Value | a Text node representing |
Overrides
IPA.Config.Stores.ValueConverter<IPA.Utilities.AlmostVersion>.ToValue(IPA.Utilities.AlmostVersion, System.Object)