public Object GetObject( IAdaptingType key ) { return GetObject( key, key.getDefaultType() ); /* foreach (Object item in cache[key].Values) return item; throw new Exception("Object not exists in reference cache"); */ }
public Object GetObject(IAdaptingType key) { return(GetObject(key, key.getDefaultType())); /* * foreach (Object item in cache[key].Values) * return item; * * throw new Exception("Object not exists in reference cache"); */ }
public Type getDefaultType() { if (mappedType != null) { return(mappedType); } else { return(typedObject.getDefaultType()); } }
public void AddObject(IAdaptingType adapter, Object value) { AddObject(adapter, adapter.getDefaultType(), value); }
public bool HasObject(IAdaptingType key) { return(HasObject(key, key.getDefaultType())); //return cache.ContainsKey(key) && cache.Count > 0; }
public Type getDefaultType() { return(realType.getDefaultType()); }
public bool HasObject(IAdaptingType key) { return HasObject( key, key.getDefaultType() ); //return cache.ContainsKey(key) && cache.Count > 0; }
public Type getDefaultType() { return(Object != null?Object.getDefaultType() : null); }