Show / Hide Table of Contents

Class AppServiceMetadata

Metadata for application services.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
ExportMetadataBase
AppServiceMetadata
FeatureLifecycleBehaviorMetadata
FeatureManagerMetadata
SettingsProviderMetadata
DataBehaviorMetadata
ExpressionConverterMetadata
DataCommandMetadata
DataContextMetadata
DataConversionTargetResolverMetadata
DataConverterMetadata
DataStreamReaderMetadata
DataStreamWriterMetadata
EntityFactoryMetadata
DataInstallerMetadata
MessagingBehaviorMetadata
MessageHandlerMetadata
MessageRouterMetadata
RuntimeModelElementConfiguratorMetadata
RuntimeModelElementConstructorMetadata
MediaTypeMetadata
LanguageServiceMetadata
ScriptingBehaviorMetadata
SerializerMetadata
TypeJsonSerializerMetadata
ServiceBehaviorRuleMetadata
EndpointMetadata
ActivityBehaviorMetadata
Implements
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
Inherited Members
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.GetThisTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Services.Composition
Assembly: Kephas.Core.dll
Syntax
public class AppServiceMetadata : ExportMetadataBase, IExpando, IDynamicMetaObjectProvider, IIndexable

Constructors

| Improve this Doc View Source

AppServiceMetadata(IDictionary<String, Object>)

Initializes a new instance of the AppServiceMetadata class.

Declaration
public AppServiceMetadata(IDictionary<string, object> metadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> metadata

The metadata.

| Improve this Doc View Source

AppServiceMetadata(Int32, Int32, String)

Initializes a new instance of the AppServiceMetadata class.

Declaration
public AppServiceMetadata(int processingPriority = 0, int overridePriority = 0, string serviceName = null)
Parameters
Type Name Description
System.Int32 processingPriority

Optional. The processing priority.

System.Int32 overridePriority

Optional. The override priority.

System.String serviceName

Optional. The name of the service.

Properties

| Improve this Doc View Source

AppServiceImplementationType

Gets or sets the concrete service type implementing the service contract.

Declaration
public Type AppServiceImplementationType { get; set; }
Property Value
Type Description
System.Type

The type of the service.

| Improve this Doc View Source

Dependencies

Gets or sets the service dependencies.

Declaration
public IEnumerable<Type> Dependencies { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

The service dependencies.

| Improve this Doc View Source

OverridePriority

Gets the priority of the service in the override chain.

Declaration
public int OverridePriority { get; }
Property Value
Type Description
System.Int32

The override priority.

| Improve this Doc View Source

ProcessingPriority

Gets the order in which the services should be processed.

Declaration
public int ProcessingPriority { get; }
Property Value
Type Description
System.Int32

The processing priority.

| Improve this Doc View Source

ServiceName

Gets or sets the name of the service.

Declaration
public string ServiceName { get; set; }
Property Value
Type Description
System.String

The name of the service.

Methods

| Improve this Doc View Source

GetMetadataValue<TAttribute, TValue>(IDictionary<String, Object>, TValue)

Gets the metadata value for the specific attribute.

Declaration
protected TValue GetMetadataValue<TAttribute, TValue>(IDictionary<string, object> metadata, TValue defaultValue = null)

    where TAttribute : IMetadataValue<TValue>
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> metadata

The metadata.

TValue defaultValue

The default value.

Returns
Type Description
TValue

The metadata value if found, otherwise the default value.

Type Parameters
Name Description
TAttribute

The attribute type.

TValue

The value type.

| Improve this Doc View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.Object.ToString()

Implements

IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable

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>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX