##// END OF EJS Templates
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()'...
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()' added Safe.Dispose(IEnumerable) added PromiseExtensions.CancellationPoint to add a cancellation point to the chain of promises added IPromise<T> PromiseExtensions.Then<T>(this IPromise<T> that, Action<T> success) overloads added PromiseExtensions.Error() overloads to handle a error or(and) a cancellation

File last commit:

r69:48763f3b5db8 default
r207:558f34b2fb50 v2
Show More
IServiceLocator.cs
13 lines | 351 B | text/x-csharp | CSharpLexer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Implab {
public interface IServiceLocator: IServiceProvider {
T GetService<T>();
bool TryGetService<T>(out T service);
bool TryGetService (Type serviceType, out object service);
}
}