Class GuidProperty
Represents a guid property.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:numl.Model
Assembly:numl.dll
Syntax
public class GuidProperty : Property
Constructors
View SourceGuidProperty()
Default constructor.
Declaration
public GuidProperty()
Properties
View SourceCategories
Declaration
public Guid[] Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Guid[] | The categories. |
Methods
View SourceConvert(Double)
Convert from number to guid.
Declaration
public override object Convert(double val)
Parameters
Type | Name | Description |
---|---|---|
System.Double | val | Number. |
Returns
Type | Description |
---|---|
System.Object | Guid. |
Overrides
View SourceConvert(Object)
Convert guid to list of numbers.
Declaration
public override IEnumerable<double> Convert(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | in guid. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Double> | lazy list of numbers. |
Overrides
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the requested operation is invalid. |
Equals(Object)
Equality test
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | object to compare |
Returns
Type | Description |
---|---|
System.Boolean | equality |
Overrides
View SourceGetHashCode()
Return hash
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | hash |
Overrides
View SourcePreProcess(IEnumerable<Object>)
Preprocess data set to create category list.
Declaration
public override void PreProcess(IEnumerable<object> examples)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Object> | examples | . |