using System; namespace ZeroLevel.Services.Impersonation { /// /// Interface for classes executing code from user or process rights /// public interface IImpersonationExecutor { void ExecuteCode(Action action, T arg); void ExecuteCode(Action action); } }