/// <summary> /// The dependee is derived before the dependent object; /// </summary> public override void AddedDependency(Object dependent, Object dependee) { base.AddedDependency(dependent, dependee); if (dependent.ToString().Equals("Jude Doe")) { } }
public override void AddedDerivable(Object derivable) { base.AddedDerivable(derivable); if (derivable.ToString().Equals("Acme")) { } }
/// <summary> /// The dependee is derived before the dependent object; /// </summary> public override void AddedDependency(Object dependent, Object dependee) { base.AddedDependency(dependent, dependee); if (dependent is Person) { // Break when Person } }
public override void AddedDerivable(Object derivable) { base.AddedDerivable(derivable); if (derivable.ToString().Equals("BlahBLah")) { // Break when "BlahBlah" } }