(self, obj)
Add object to local and app environment storage

        :param obj: Instance of a .NET object
Add object to local and app environment storage
Add object to local and app environment storage
def add_object(self, obj):
        """Add object to local and app environment storage

        :param obj: Instance of a .NET object
        """
        if obj.top_level_object:
            if isinstance(obj, DotNetNamespace):
                self.namespaces[obj.name] = obj
        self.objects[obj.id] = obj
def add_object ( self , obj ) : if obj . top_level_object : if isinstance ( obj , DotNetNamespace ) : self . namespaces [ obj . name ] = obj self . objects [ obj . id ] = obj