xtd 0.2.0
Loading...
Searching...
No Matches
implicit_using_namespaces.hpp
Go to the documentation of this file.
1
4#pragma once
6
8#if defined(__XTD_ENABLE_IMPLICIT_USING_NAMESPACES__)
9#define __using_namespace__(name_space) namespace name_space {} using namespace name_space
10
11#if __XTD_CURRENT_TARGET_ID__ == __CMAKE_TARGET_ID_TEST_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_CONSOLE_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
12__using_namespace__(xtd);
13__using_namespace__(xtd::collections::generic);
14__using_namespace__(xtd::io);
15__using_namespace__(xtd::linq);
16__using_namespace__(xtd::net::http);
17__using_namespace__(xtd::threading);
18__using_namespace__(xtd::threading::tasks);
19#endif
20
21#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
22__using_namespace__(xtd::drawing);
23__using_namespace__(xtd::forms);
24#endif
25
26#if __XTD_CURRENT_TARGET_ID__ == __CMAKE_TARGET_ID_TEST_APPLICATION__
27__using_namespace__(xtd::tunit);
28#endif
29
30#undef __using_namespace__
31#endif
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.hpp:15
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:11
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:16
Provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).
Definition enumerable.hpp:33
The xtd::threading::tasks namespace provides types that simplify the work of writing concurrent and a...
Definition task_canceled_exception.hpp:13
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:11
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains target id definitions.