UpdateCustomVariablesFromBaseType() public static method

public static UpdateCustomVariablesFromBaseType ( IElement behaviorContainer ) : void
behaviorContainer IElement
return void
Beispiel #1
0
        public static void UpdateFromBaseType(this ScreenSave instance)
        {
            if (ObjectFinder.Self.GlueProject != null)
            {
                NamedObjectContainerHelper.UpdateNamedObjectsFromBaseType(instance);

                IBehaviorContainerHelper.UpdateCustomVariablesFromBaseType(instance);
            }
        }
Beispiel #2
0
        public static bool UpdateFromBaseType(this EntitySave instance)
        {
            bool haveChangesOccurred = false;

            if (ObjectFinder.Self.GlueProject != null)
            {
                haveChangesOccurred |= NamedObjectContainerHelper.UpdateNamedObjectsFromBaseType(instance);

                IBehaviorContainerHelper.UpdateCustomVariablesFromBaseType(instance);
            }
            return(haveChangesOccurred);
        }