-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIObjectContainerDefinition.cs
More file actions
38 lines (34 loc) · 1.48 KB
/
IObjectContainerDefinition.cs
File metadata and controls
38 lines (34 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
namespace RapidField.SolidInstruments.ObjectComposition
{
/// <summary>
/// Represents information about how an <see cref="ObjectContainer" /> resolves requests for objects.
/// </summary>
internal interface IObjectContainerDefinition : IComparable<IObjectContainerDefinition>, IEquatable<IObjectContainerDefinition>
{
/// <summary>
/// Converts the current <see cref="IObjectContainerDefinition" /> to an array of bytes.
/// </summary>
/// <returns>
/// An array of bytes representing the current <see cref="IObjectContainerDefinition" />.
/// </returns>
public Byte[] ToByteArray();
/// <summary>
/// Gets the type that is produced as a result of a request for <see cref="RequestType" />.
/// </summary>
public Type ProductType
{
get;
}
/// <summary>
/// Gets the request type that identifies the current <see cref="IObjectContainerDefinition" />.
/// </summary>
public Type RequestType
{
get;
}
}
}