public static CreateContextFromSectionHandler SetSectionHandler(CreateContextFromSectionHandler sectionHandler) { CreateContextFromSectionHandler prevInstance = s_callback; s_callback = sectionHandler; return(prevInstance); }
public static CreateContextFromSectionHandler SetSectionHandler(CreateContextFromSectionHandler sectionHandler) { CreateContextFromSectionHandler prevInstance = s_callback; s_callback = sectionHandler; return prevInstance; }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"></see> class. /// </summary> public Guard(CreateContextFromSectionHandler sectionHandler) { NUnit.Framework.Assert.IsNotNull(sectionHandler); _prevInst = SetSectionHandler(sectionHandler); }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"></see> class. /// </summary> public Guard(CreateContextFromSectionHandler sectionHandler) { NUnit.Framework.Assert.IsNotNull(sectionHandler); _prevInst = SetSectionHandler(sectionHandler); }