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.
Zero/ZeroLevel/Services/DependencyInjection/Contracts/ICompositionProvider.cs

25 lines
769 B

6 years ago
namespace ZeroLevel.Patterns.DependencyInjection
{
/// <summary>
/// Provides object composition
6 years ago
/// </summary>
public interface ICompositionProvider
{
#region Composition
6 years ago
/// <summary>
/// Object compositions, insert contract implementation
6 years ago
/// </summary>
/// <param name="instanse">Object instance</param>
6 years ago
void Compose(object instanse, bool recursive = true);
6 years ago
/// <summary>
/// Object compositions, insert contract implementation
6 years ago
/// </summary>
/// <param name="instanse">Object instance</param>
/// /// <returns>false if composition fault</returns>
6 years ago
bool TryCompose(object instanse, bool recursive = true);
#endregion Composition
6 years ago
}
}

Powered by TurnKey Linux.