MWS.WebService.MovilizerWebService.GetOrCreateMasterdataPoolUpdateTemplate C# (CSharp) 메소드

GetOrCreateMasterdataPoolUpdateTemplate() 공개 메소드

public GetOrCreateMasterdataPoolUpdateTemplate ( string pool ) : MasterdataPoolUpdateTemplate
pool string
리턴 MWS.Templates.MasterdataPoolUpdateTemplate
        public MasterdataPoolUpdateTemplate GetOrCreateMasterdataPoolUpdateTemplate(string pool)
        {
            MasterdataPoolUpdateTemplate poolUpdate;
            if (_masterdataPoolUpdateTemplates.ContainsKey(pool))
            {
                poolUpdate = _masterdataPoolUpdateTemplates[pool] as MasterdataPoolUpdateTemplate;
            }
            else
            {
                poolUpdate = new MasterdataPoolUpdateTemplate(pool);
                _masterdataPoolUpdateTemplates[pool] = poolUpdate;
                //_outQueue.Enqueue(poolUpdate);
            }
            return poolUpdate;
        }