Ejemplo n.º 1
0
 public AppearanceParameters ReplaceChildsBehaviourMode(ChildsBehaviourMode childsBehaviourMode)
 {
     return(new AppearanceParameters(this)
     {
         replaceChildsBehaviourMode = true, childsBehaviourMode = childsBehaviourMode
     });
 }
Ejemplo n.º 2
0
        public AppearanceParameters(AppearanceParameters other)
        {
            this.replaceCallback = other.replaceCallback;
            this.callback        = other.callback;

            this.replaceDelay = other.replaceDelay;
            this.delay        = other.delay;

            this.replaceImmediately = other.replaceImmediately;
            this.immediately        = other.immediately;

            this.replaceResetAnimation = other.replaceResetAnimation;
            this.resetAnimation        = other.resetAnimation;

            this.replaceIncludeChilds = other.replaceIncludeChilds;
            this.includeChilds        = other.includeChilds;

            this.replaceChildsBehaviourMode = other.replaceChildsBehaviourMode;
            this.childsBehaviourMode        = other.childsBehaviourMode;

            this.replaceForced = other.replaceForced;
            this.forced        = other.forced;

            this.replaceManual = other.replaceManual;
            this.manual        = other.manual;
        }
Ejemplo n.º 3
0
        public ChildsBehaviourMode GetChildsBehaviourMode(ChildsBehaviourMode defaultValue)
        {
            if (this.replaceChildsBehaviourMode == true)
            {
                return(this.childsBehaviourMode);
            }

            return(defaultValue);
        }
Ejemplo n.º 4
0
		public AppearanceParameters(AppearanceParameters other) {

			this.replaceCallback = other.replaceCallback;
			this.callback = other.callback;
			
			this.replaceDelay = other.replaceDelay;
			this.delay = other.delay;
			
			this.replaceImmediately = other.replaceImmediately;
			this.immediately = other.immediately;

			this.replaceResetAnimation = other.replaceResetAnimation;
			this.resetAnimation = other.resetAnimation;

			this.replaceIncludeChilds = other.replaceIncludeChilds;
			this.includeChilds = other.includeChilds;

			this.replaceChildsBehaviourMode = other.replaceChildsBehaviourMode;
			this.childsBehaviourMode = other.childsBehaviourMode;
			
			this.replaceForced = other.replaceForced;
			this.forced = other.forced;

		}
Ejemplo n.º 5
0
		public AppearanceParameters ReplaceChildsBehaviourMode(ChildsBehaviourMode childsBehaviourMode) {
			
			return new AppearanceParameters(this) { replaceChildsBehaviourMode = true, childsBehaviourMode = childsBehaviourMode };

		}
Ejemplo n.º 6
0
		public ChildsBehaviourMode GetChildsBehaviourMode(ChildsBehaviourMode defaultValue) {
			
			if (this.replaceChildsBehaviourMode == true) return this.childsBehaviourMode;
			
			return defaultValue;
			
		}