Beispiel #1
0
			protected override IBackend OnCreateBackend ()
			{
				var b = base.OnCreateBackend ();
				if (b == null)
					b = new DefaultColorSelectorBackend ();
				return b;
			}
Beispiel #2
0
            protected override IBackend OnCreateBackend()
            {
                var b = base.OnCreateBackend();

                if (b == null)
                {
                    b = new DefaultColorSelectorBackend();
                }
                return(b);
            }
Beispiel #3
0
            protected override IBackend OnCreateBackend()
            {
                var b = base.OnCreateBackend();

                if (b is ICustomWidgetBackend)
                {
                    b = new DefaultColorSelectorBackend();
                }
                return(b);
            }