public void OnCreated(CreationEventArgs e) { CreationEventHandler temp = Created; if (temp != null) { temp(this, e); } }
public CacheTable(CreationEventHandler <TKey, TValue> creational) { if (creational == null) { throw new NullReferenceException("delegate get value cannot be null"); } _createFunction = creational; _cached = new Dictionary <TKey, TValue>(); }
public Island(CreationEventHandler <T> birthSolution) : this() { _birthSolution = birthSolution; }