mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
769 B
25 lines
769 B
namespace ZeroLevel.Patterns.DependencyInjection
|
|
{
|
|
/// <summary>
|
|
/// Provides object composition
|
|
/// </summary>
|
|
public interface ICompositionProvider
|
|
{
|
|
#region Composition
|
|
|
|
/// <summary>
|
|
/// Object compositions, insert contract implementation
|
|
/// </summary>
|
|
/// <param name="instanse">Object instance</param>
|
|
void Compose(object instanse, bool recursive = true);
|
|
|
|
/// <summary>
|
|
/// Object compositions, insert contract implementation
|
|
/// </summary>
|
|
/// <param name="instanse">Object instance</param>
|
|
/// /// <returns>false if composition fault</returns>
|
|
bool TryCompose(object instanse, bool recursive = true);
|
|
|
|
#endregion Composition
|
|
}
|
|
} |