Show / Hide Table of Contents

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
IClassifier.QualifiedFullName
IClassifier.Members
IClassifier.Projection
IClassifier.Properties
IClassifier.Methods
IClassifier.IsMixin
IClassifier.BaseClassifier
IClassifier.BaseMixins
IClassifier.IsAspect
IClassifier.IsAspectOf(IClassifier)
IClassifier.GetMember(String, Boolean)
INamedElement.FullName
INamedElement.Annotations
INamedElement.DeclaringContainer
INamedElement.ModelSpace
INamedElement.IsInherited
IAggregatedElementInfo.Parts
ITypeInfo.Namespace
ITypeInfo.BaseTypes
ITypeInfo.GenericTypeParameters
ITypeInfo.GenericTypeArguments
ITypeInfo.GenericTypeDefinition
ITypeInfo.CreateInstance(IEnumerable<Object>)
ITypeInfo.MakeGenericType(IEnumerable<ITypeInfo>, IContext)
IElementInfo.Name
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
IAttributeProvider.GetAttributes<TAttribute>()
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 Source

IsComplex

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.

| Improve this Doc View Source

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

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
ModelElementExtensions.GetDeclaredMembers(IModelElement)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX