This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void MergeWith(this AbstractApplicationContext targetContext, | |
| AbstractApplicationContext sourceContext) | |
| { | |
| Check.NotNull(sourceContext, "sourceContext"); | |
| targetContext.Stop(); | |
| foreach (var definitionName in sourceContext.GetObjectDefinitionNames()) | |
| { | |
| var definition = sourceContext.GetObjectDefinition(definitionName); | |
| targetContext.RegisterObjectDefinition(definitionName, definition); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO.Ports; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace AwesomeSerialDeviceWrapper | |
| { | |
| public class SerialDevice : IDisposable | |
| { | |
| private long m_timeSinceLastEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void MergeWith(this AbstractApplicationContext targetContext, | |
| AbstractApplicationContext sourceContext) | |
| { | |
| Check.NotNull(sourceContext, "sourceContext"); | |
| targetContext.Stop(); | |
| foreach (var definitionName in sourceContext.GetObjectDefinitionNames()) | |
| { | |
| var definition = sourceContext.GetObjectDefinition(definitionName); | |
| targetContext.RegisterObjectDefinition(definitionName, definition); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 2.8.11) | |
| project(VtkFboInQtQuick) | |
| set(CMAKE_INCLUDE_CURRENT_DIR ON) | |
| set(CMAKE_AUTOMOC ON) | |
| find_package(VTK REQUIRED) | |
| include(${VTK_USE_FILE}) |
NewerOlder