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
760 B

namespace ZeroLevel.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
}
}

Powered by TurnKey Linux.