Class AlmostVersionConverter
A ValueConverter<T> for AlmostVersions.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
System.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 |
System.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)