Questions tagged as 'namespace'

1
answer

namespace with php [duplicate]

I'm trying to get deeper into namespace , but in the ways I'm trying, it's giving error . Here are two ways: My class that falls within the classes / class.php directory namespace minhaClasse; class classe { public function t...
asked by 06.11.2016 / 01:18
2
answers

Referencing folders created in the project

After I go to Project > Add > New Folder, rename the folder and put classes inside it I can no longer reference it in another file, for example if it were to be used in a controller , I would use as always I used the using nomeProjeto.N...
asked by 21.12.2015 / 14:08
1
answer

What problems can occur when using the "http://tempuri.org/" namespace in our webServices?

When creating a webService, in my case using ASP.NET, I always change the default namespace to someone related to my project, usually using the site URL for this. But lately I've had the need to integrate systems and usually other developers...
asked by 14.11.2014 / 12:22
2
answers

Protect Class for C # namespace

I'm developing a C # application for Unity 3D where it will manage various database types (Mysql, Postgress ...), the problem is that I have classes that manipulate each type of database within my namespace, which are used by several other classe...
asked by 30.05.2016 / 23:15
1
answer

General namespace for mapped class

Can anyone help me with this question? Based on a result XML from a WebService (OBIEE) I generated an XSD in a online converter and with this XSD I generated the class mapped by means of the command xjc . When I tried to play the XM...
asked by 06.04.2015 / 22:18
1
answer

Compiler indicates non existent enum that exists

I'm using the Mono compiler. When I tried to compile this: using static System.Globalization.CharUnicodeInfo; using static System.Globalization.UnicodeCategory; namespace AS3Kit.Lexical { static class Validator { static bool T...
asked by 12.12.2017 / 00:17
1
answer

Conflict of reference Google.api

I have a referral conflict problem in the Google API. In my API classes I always rename it as follows: SiteTeste.APIS.Google.<Servico> , where service is, Gmail, Translate, Drive or whatever. Google Translate I name it: n...
asked by 16.11.2017 / 20:40
1
answer

What are namespaces in XML?

Well, I understand the concept of namespaces in C #, C ++, etc. But I do not understand the concept of namespaces in WPF (XAML). I've been trying to understand the xmlns parameters in an XAML code. I read MSDN publications on th...
asked by 12.07.2016 / 18:24
1
answer

Asp.Net 5 (Core 1.0) Class Library System.Text.RegularExpression

How to use the System.Text.RegularExpression namespace in Asp.Net 5, I'm having a project and I was upgrading it to ASP.NET 5, my problem was that I can not use regular expressions in the same en as I can reference the namespace in issue.     
asked by 05.03.2016 / 15:54
5
answers

How do namespaces work in C #?

I'm studying C # and I came across namespaces . How does it work and when is it applied? If possible, some basic example.     
asked by 01.04.2014 / 01:17