Is it possible to open a class from another .net namespace as a class in my namespace? I use the class - antlr.collections.AST - as the return type for a function that belongs to a class in my namespace; as a result, the user must have
using antlr.collections; using myNamespace;
at the top of my files to use my function. Can I make myNamespace.AST an alias for antlr.collections.AST, so the user must have
using myNamespace;
at the top of your files?
, . , , antlr.collections.Foo antlr.collections.Bar .
"" ( ), , , antlr.collections.
, , , , . DAL, SubSonic, DAL, SubSonic. (, , .)
- , . - . , , , ... , , , . , .
? :
namespace MyForms { class Class1 : Some.Other.Namespace.Class1 { // ... } }
, . , ..
, , - .
, .
.
, , , , , , - antir.collections( , , , ). StackOverflow.com, , , "" ?
- antlr.collections.AST.
You can use Adapter for this purpose.
Source: https://habr.com/ru/post/1697566/More articles:Biztalk Business Process Configuration Files - biztalkHow to determine from within Java which .NET platform is installed - javaSort nvarchar column as a whole - sortingResolution in Visual Studio 2008 Reports - visual-studio-2008LabVIEW Objects - objectIs there a way to control processes in Perl (i.e., it actually replaces threads)? - multithreadingDebugging with Oracle utl_smtp - oracleChange the brightness / gamma of the whole scene in OpenGL - 3dManager classes - designhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1697571/what-are-some-good-methods-to-hinder-screen-scrapers-from-grabbing-specific-pieces-of-content-off-my-site&usg=ALkJrhgHjxdMU6JIj5_s3Ot45l89sN9qSgAll Articles