public bool Initialize(IronRubyTaskFactory taskFactory)
        {
            var emptyPropertyDictionary = new Dictionary<string, TaskPropertyInfo>();
            const string usingTaskBody = @"<Script Path=""sample_task.rb"" />";
            _initReturnValue = taskFactory.Initialize("SampleTask", emptyPropertyDictionary, usingTaskBody, _buildEngine);

            return _initReturnValue;
        }
Exemplo n.º 2
0
        public bool Initialize(IronRubyTaskFactory taskFactory)
        {
            var          emptyPropertyDictionary = new Dictionary <string, TaskPropertyInfo>();
            const string usingTaskBody           = @"<Script Path=""sample_task.rb"" />";

            _initReturnValue = taskFactory.Initialize("SampleTask", emptyPropertyDictionary, usingTaskBody, _buildEngine);

            return(_initReturnValue);
        }