Exemplo n.º 1
0
        private void ApplyTransform(
            InvokeBinder binder,
            object[] args)
        {
            if (_transform != null)
            {
                var content = ComposeContent(
                    binder?.CallInfo?.ArgumentNames,
                    args);

                _transform(_tag, content);

                // null out _transform so that it will only be applied once
                _transform = null;
            }
        }