示例#1
0
			public bool Transform(BindingContext bindingContext, object input, out object output)
			{
				if (bindingContext.TryGetCachedValue(this, out output))
					return true;

				if (_bindingTransformation(bindingContext, input, out output))
				{
					bindingContext.AddCachedValue(this, output);
					return true;
				}

				return false;
			}