Show / Hide Table of Contents

Interface ICompositeObject

Represents value which consists of multiple simple values.

Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public interface ICompositeObject

Methods

TryGetValue(String, Type, out Object)

Returns inner value by key.

Declaration
bool TryGetValue(string key, Type valueType, out object value)
Parameters
Type Name Description
System.String key

The key.

System.Type valueType

Type of the value.

System.Object value

Result value.

Returns
Type Description
System.Boolean

TryGetValue<TValueType>(String, out TValueType)

Returns inner value by key.

Declaration
bool TryGetValue<TValueType>(string key, out TValueType value)
Parameters
Type Name Description
System.String key

The key.

TValueType value

Result value.

Returns
Type Description
System.Boolean
Type Parameters
Name Description
TValueType

The type of the value.

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX