public World(IOwinServer server, ISupport support, INotify notifyChanges) { }
public Notification(ISupport support) { }
public SupportController(IOptions <MailingSettings> mailingSettings, ISupport support) { _mailingSettings = mailingSettings; _support = support; }
public MapTabela(ISupport funcoes) { _funcoes = funcoes; }
public HomeController(IStringLocalizer <HomeController> localizer, ISupport support, IBlog blog) { _localizer = localizer; _support = support; _blog = blog; }
/// <summary> /// Method containing all code needed during the when phase. /// </summary> /// <param name="supporter"> /// Class containing support code for a test run. /// </param> /// <returns> /// Instance of <see cref="ISupport" />. /// </returns> public ISupport When(ISupport supporter) { return(InitializeSupportClass(supporter)); }
/// <summary> /// Method containing all code needed during the when phase. /// </summary> /// <param name="supporter"> /// Class containing support code for a test run. /// </param> /// <returns> /// Instance of <see cref="ISupport"/>. /// </returns> public ISupport Given(ISupport supporter) { return(this.InitializeSupportClass(supporter)); }
public NotificationOverride(ISupport support) { }
// Use this for initialization void Start() { support = GetComponent <ISupport>(); }
public MapProcedure(ISupport rorinas) { _rorinas = rorinas; }
public static ISupport GetInstanceSupport() { return(_support ?? (_support = new SupportImpl())); }
private void GetSupportedExts(string fileName, out string[] exts, out ISupport support) { exts = new string[0]; support = null; FileInfo info = new FileInfo(fileName); string file = info.FullName; if (bufferedSupport.ContainsKey(file)) { support = bufferedSupport[file]; if (support != null) { exts = support.GetSupportedFormat(); bufferedSupport.Add(file, support); return; } } Assembly asm = Assembly.LoadFrom(file); if (asm == null) return ; foreach (Type t in asm.GetTypes()) { if (t.IsClass && !t.IsAbstract) { Type inter = t.GetInterface("ISupport"); if (inter == null) continue; MethodInfo method = inter.GetMethod("GetSupportedFormat"); if (method == null) continue; object o = Activator.CreateInstance(t); if (o != null) { support = o as ISupport; if (support != null) { exts = support.GetSupportedFormat(); bufferedSupport.Add(file, support); return; } } } } return; }
public SupportHelperAttribute(Type supportType) { this.support = Activator.CreateInstance(supportType) as ISupport; }
/// <summary> /// Initializes the given support class. /// </summary> /// <param name="supporter">Class which contains code to support a test run.</param> /// <returns>Instance of <see cref="ISupport" /></returns> private ISupport InitializeSupportClass(ISupport supporter) { supporter.Support(this); return(supporter); }
/// <summary> /// Initializes the given support class. /// </summary> /// <param name="supporter">Class which contains code to support a test run.</param> /// <param name="supportData">Data used during support actions.</param> /// <returns>Instance of <see cref="ISupport" /></returns> private ISupport <T> InitializeSupportClass <T>(ISupport <T> supporter, T supportData) { supporter.Support(this, supportData); return(supporter); }
public ISupport AssignToNextLevel(ISupport support) { _nextSupportLevel = support; return(_nextSupportLevel); }