Top "Instance" questions

In object-oriented programming an instance is an occurrence or a copy of an object, whether currently executing or not.

Static Variable Instances and AppDomains, what is happening?

I have public static class A { public static string ConnString; } [Serializable] public class Test{ // Accesing A's field; public string ConnString{…

c# variables static instance appdomain
How to copy/create derived class instance from a pointer to a polymorphic base class?

I have been struggling with this kind of problem for a long time, so I decided to ask here. class …

c++ class copy instance polymorphism
GAE Go - "This request caused a new process to be started for your application..."

I've encountered this problem for a second time now, and I'm wondering if there is any solution to this. I'm …

google-app-engine instance go reset data-loss
SQLAlchemy: Modification of detached object

I want to duplicate a model instance (row) in SQLAlchemy using the orm. My first thought was to do this: …

python sqlalchemy duplicates clone instance
Create class instance from string

I have a C# method which creates a new instance of a class from a string, however, I get an …

c# reflection class instance argumentnullexception
How to get instance given a method of the instance?

class MyClass: def myMethod(self): pass myInstance = MyClass() methodReference = myInstance.myMethod Now can you get a reference to myInstance if …

python class methods instance
Multiple docker containers for mysql or one instance with multiple databases

I have a question regarding best practices using docker containers. I need one database for each application I develop. Now …

mysql docker instance
How to show multiplicities in UML object diagrams

I wonder if there is way to create an array of objects in UML? the following is my try using …

uml instance class-diagram object-diagram
How to hide instances in EC2 based on tag - using IAM?

I want to create a new user in IAM, and allow him to be able to create new EC2 instances, …

amazon-web-services amazon-ec2 instance amazon-iam
Django ModelForms - 'instance' not working as expected

I have a modelform that will either create a new model or edit an existing one - this is simple …

django forms instance modelform