public IManageCViews this[PropIdType propId] { get { IManageCViews result = _dict[propId]; return(result); } }
public bool TryGetValue(PropIdType propId, out IManageCViews cViewManager) { if (_dict.TryGetValue(propId, out cViewManager)) { return(true); } else { cViewManager = null; return(false); } }
private bool TryGetViewManager(string propertyName, out IManageCViews cViewManager) { if (TryGetCViewManagerProvider(propertyName, out IProvideACViewManager cViewManagerProvider)) { cViewManager = cViewManagerProvider.CViewManager; return(true); } else { System.Diagnostics.Debug.WriteLine($"Could not get the view manager provider for {PROP_NAME}."); cViewManager = null; return(false); } }
public IManageCViews GetOrAdd(PropIdType propId, Func <PropIdType, IManageCViews> vFactory) { IManageCViews result = _dict.GetOrAdd(propId, vFactory); return(result); }