Questions tagged [fully-qualified-naming]

75 questions
5
votes
4 answers

Is fully qualified naming vs the using directive simply a matter of opinion?

I find now that I work in a mostly solo environment that I actually type fully qualified methods calls more and more, instead of make use of the using directive. Previously, I just stayed consistent with the most prominent coding practice on the…
Serapth
  • 7,122
  • 4
  • 31
  • 39
5
votes
1 answer

Using fully qualified function calls in Erlang?

I have just learnt how to upgrade a module in Erlang and I know that only the function calls that use the fully qualified names (eg. module:function()) gets "relinked" to the current version loaded into the VM, but the function calls that do not…
goodolddays
  • 2,595
  • 4
  • 34
  • 51
4
votes
2 answers

How does the automatic full qualification of class names work, in Python? [relevant to object pickling]

(It is possible to directly jump to the question, further down, and to skip the introduction.) There is a common difficulty with pickling Python objects from user-defined classes: # This is program dumper.py import pickle class C(object): …
Eric O. Lebigot
  • 91,433
  • 48
  • 218
  • 260
4
votes
1 answer

Android Play Store - app identifier is case-sensitive?

I have always thought that the unique backwards-domain identifier of an app is not case-sensitive, but it appears, it is?
ina
  • 19,167
  • 39
  • 122
  • 201
3
votes
1 answer

Is it possible to statically distinguish between fully qualified names and nested class types?

I am using JavaParser (open source) to parse the following code. package testfiles.simple.tricky.before; import testfiles.simple.before.InnerClassSample; public class InnerClassReference { public void ref(InnerClassSample.MyInnerClass…
3
votes
2 answers

How to get the fully qualified path name in C++

Is there a function that returns the fully qualified path name for any inputted file? I'm thinking of something like: LPCSTR path = "foo.bar" LPCSTR fullPath = FullyQualifiedPath(path); //fullPath now equals C:\path\to\foo.bar Thanks
Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133
3
votes
1 answer

Roslyn - find declarations with fully qualified name

I am using the SymbolFinder.FindDeclarationsAsync() method to find a symbol declared in a project. But the method does not match for fully qualified names. var symbols = SymbolFinder.FindDeclarationsAsync(projects, "String", true).Result; The above…
CasKaDev
  • 123
  • 1
  • 5
3
votes
2 answers

How to acquire fully qualified names of installed applications in Android

I try to create an application that can start other applications (f.e. Gmail or Facebook or any installed one). I tried to use the following code: PackageManager pm = MainActivity.this.getPackageManager(); try { Intent it =…
Nestor
  • 8,194
  • 7
  • 77
  • 156
3
votes
2 answers

.NET SMTP mail - error = helo command rejected need fully-qualified hostname

I am trying to send email in a .NET console application. I have an SMTP server with i.P. address X.X.X.X (sanitized to protect the innocent). The SMTP server has been set up (the relay configured) to allow email from the server that is hosting the…
richard
  • 12,263
  • 23
  • 95
  • 151
2
votes
1 answer

How do I use a type with the same name of another type in another referenced assembly?

I have the absurd situation (don't blame me, it is third party software) where I need to have two references (Erp.Contracts.BO.Quote and Erp.Contracts.BO.SalesOrder), but the type Erp.Tablesets.QuoteQtyRow is defined in both assemblies! How do I use…
Price Jones
  • 1,948
  • 1
  • 24
  • 40
2
votes
2 answers

C++: Using fully qualified name with sort function - inconsistent behaviour

I have the following C++ code that computes the median of a container taken from Accelerated C++ by Koenig. median.h #ifndef GUARD_median_h #define GUARD_median_h #include #include #include template
tlid
  • 51
  • 1
  • 5
2
votes
1 answer

Fully-qualified urls in HTTP Location header. Why it is important?

So I've got some warnings from Fiddler that I have bad urls in HTTP Location header and they are should be fully-qualified. Why it's so important and what issues that can lead to?
Kovpaev Alexey
  • 1,725
  • 6
  • 19
  • 38
2
votes
1 answer

Auto qualify name in visual studio 2013? Intellisense?

Is there a way to quickly "Auto qualify" a variable type declaration in Visual Studio 2013? E.g. if I type: Dim SomeExcel as New Application is there a way to get the IDE to automatically fill in the namespace? like this: Dim SomeExcel as New…
CBRF23
  • 1,340
  • 1
  • 16
  • 44
2
votes
2 answers

Flex - new ClassFactory() vs Fully Qualified Name

When assigning the itemrenderer of an object it is better to use a fully qualified name string or use ClassFactory?
asawilliams
  • 2,908
  • 2
  • 30
  • 54
2
votes
1 answer

How to correctly name and organize file classes for MATLAB?

Consider the following directory structure and that C:\magic is the current MATLAB folder: C:\magic C:\magic\+wand C:\magic\+hat Now, wand and hat are MATLAB packages which may be loaded by import wand.* and import hat.*. Consider that I may want…
Girardi
  • 2,734
  • 3
  • 35
  • 50