Interface IValueType
A value type denotes instances that are stored as values. Value instances are not identifiable and cannot be referenced from other instances, instead they are copied.
Inherited Members
Namespace: Kephas.Model
Assembly: Kephas.Model.dll
Syntax
public interface IValueType : IClassifier, IModelElement, INamedElement, IAggregatedElementInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Remarks
The Kephas value types do not match necessarily the CLR value types. Some CLR reference types are considered value types in Kephas, like System.String or System.Byte array. Primitive value types store usually a single value (but this could also depend on the storage type), whereas complex value types store multiple values. Complex value types may however contain properties holding references to reference types.
Properties
| Improve this Doc View SourceIsComplex
Gets a value indicating whether the value type representing a complex value, like a structure consisting of multiple properties.
Declaration
bool IsComplex { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If a value type is not a simple type, then it is a complex type.
IsPrimitive
Gets a value indicating whether the value type represents a primitive value, like an integer or a string.
Declaration
bool IsPrimitive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |