Beispiel #1
0
        public IWorkFile MakeFile(List <IWorkFile> ExcelMakeWorkList)
        {
            List <List <Work> > allWorks = new List <List <Work> >();

            foreach (var temp in workFileList)
            {
                MakeFunction function = TypeFileList[temp.Extension];
                a
            }
        }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        toolItem     = GetComponent <Button>();
        toolNameText = GetComponentInChildren <Text>();

        toolItem.onClick.AddListener(delegate
        {
            //makeFunction = GameObject.Find("ChangYongPanel/LeftPanel").GetComponent<MakeFunction>();
            makeFunction = GameObject.Find("WashaManager").GetComponent <MakeFunction>();
            makeFunction.ToolInstant(toolNameText.text);
        });
    }
Beispiel #3
0
 /// <summary>
 /// called by a scheduler dll to register itself with the factory
 /// </summary>
 /// <param name="type">string used to identify the scheduler</param>
 /// <param name="factory">factory function to make a concrete instance of the scheduler</param>
 /// <returns>true if it was registered</returns>
 public static void Register(string type, MakeFunction factory)
 {
     registrations.Add(type, factory);
 }
Beispiel #4
0
 /// <summary>
 /// called by a scheduler dll to register itself with the factory
 /// </summary>
 /// <param name="type">string used to identify the scheduler</param>
 /// <param name="factory">factory function to make a concrete instance of the scheduler</param>
 /// <returns>true if it was registered</returns>
 public static void Register(string type, MakeFunction factory)
 {
     registrations.Add(type, factory);
 }