Questions tagged [regions]
172 questions
5
votes
1 answer
Avoid Resharper to add a region per Declaration
i have some trouble configuring the "Type Members Layout" of Resharper 7.1.3.
I started using the template for using with regions and tried to customized it for my needs.
P L E A S E: No discussion about "not using regions, etc. ..."
My first…

The Chris
- 591
- 6
- 19
4
votes
2 answers
Windows Azure - how do you change the region of a Table Storage account?
I've created a Hosted Service that talks to a Storage Account in Azure. Both have their regions set to Anywhere US but looking at the bills for the last couple of months I've found that I'm being charged for communication between the two as one is…

benharden
- 43
- 1
- 3
4
votes
2 answers
Tell VS2010 to collapse regions
So I have written a t4 template which generates a ton of code and works well. The only issue is that most of the code never needs to be seen by developers so I have hidden in regions all of the boiler plate code . Is there any way (i'm assuming…

rerun
- 25,014
- 6
- 48
- 78
4
votes
5 answers
PRISM + MEF -- Can't get regions to work properly
a bit new to Prismv4 and MEF.
I went through the QuickStarts and tried to combine two of them together, but I can't seem to get it working.
First, I got a Bootstrapper to load the Shell Window.
public sealed class ClientBootstrapper :…

michael
- 14,844
- 28
- 89
- 177
4
votes
1 answer
Is there a way to configure GCP regions in Firebase?
Google Cloud Platform has various regions for hosting their services, e.g. West Europe 2 for London based services.
However, with Firebase, there seems to be no way to configure where content is hosted. Even if integrated with a GCP project (via…

songololo
- 4,724
- 5
- 35
- 49
4
votes
2 answers
JSDoc - how to document region of code
I have started using of JSDoc and so far it is great thing, but I want to document the part of my code like Visual Studio has #region.
Should I just wrap it in block of comments like this?
/**
* Region for calling express routes
*/
here goes…

Aren Hovsepyan
- 1,947
- 2
- 17
- 45
4
votes
1 answer
MVVM-PRISM, how to display multiple instances of a view in a region/ItemsControl
I am building an module for an application that is based on MVVM, CAL and PRISM. I'm fairly new to these concepts, and trying to get my head around all the patterns and right now I'm struggling with the following problem:
I am in the need of…

Mcad001
- 299
- 3
- 17
4
votes
3 answers
Is it possible get the functionality of namespaces inside a class?
I have the following code:
Public Class Form1
Private Function Step1_Execute() As Boolean
Return Step1_Verify()
End Function
Private Function Step1_Verify() As Boolean
Return True
End Function
Private Function Step2_Execute() As Boolean
…

SteveGSD
- 1,750
- 1
- 17
- 28
4
votes
3 answers
How to scan multiple regions using startMonitoringForRegion in Objective-C
I've been through two tutorials and am reading up on basic C. Learn best through doing and have written a few light apps in the past week or so. Am getting up to speed to write some apps that will use ibeacon. As I'm going through some samples and…

user3196820
- 43
- 1
- 3
4
votes
3 answers
PRISM Login Screen
I have searched and found a lot of questions and answers concerning login screens for prism. They seem to be concerned however with having the login screen show before prism even loads up modules. I have no desire for that.
I have my shell, and in…

Cowman
- 678
- 7
- 25
4
votes
1 answer
Redis - scaling over different ec2 regions
as I understand it's technically possible to have redis cluster with nodes spreaded by different regions in amazon cloud (EC2) - so I will be able to obtain the same data in machines in each region.
But here is 2 questions I am not sure:
how it…

Serge
- 1,947
- 3
- 26
- 48
4
votes
1 answer
Districts/Sublocalities: List of, or how to get using Google API
I am desperately trying to find a list/database of districts or sublocalities for all cities of the world.
I use the list of all cities of the world from maxmind.com, however, they do not provide sublocalities or districts (like e.g. "Manhattan",…

Helmut
- 1,377
- 1
- 15
- 25
3
votes
1 answer
Can startMonitoringForRegion wake my app up, and start gps tracking?
In Apple's developer portal , it states that startMonitoringForRegion:desiredAccuracy: will eventually wake up my app (even if it's killed) and send the Core location delegate a message.
The question is : Is it possible to start GPS tracking…

Nir Golan
- 1,336
- 10
- 24
3
votes
1 answer
Visual studio setting or plugin to "hide" region directives in the IDE
In our team we have people that love and hate the "#region" directive. I am looking for a way to make both sides happy. We use VS2010.
I know that you can go to tools > options > text editor > C# > Advanced > Uncheck "Enter outlining mode when files…

MMind
- 1,845
- 2
- 17
- 26
3
votes
3 answers
How to view and edit only a small part of a text file in Emacs
I would like to accomplish the following behaviour in Emacs and was wondering if there's an existing package that already does what I want.
I want my buffer to display only lines 30 to 60 in file myfile.txt, and simply hide the rest of the file from…

Patrick Li
- 672
- 4
- 11