Exemplo n.º 1
0
            /// <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"))
                {
                }
            }
Exemplo n.º 2
0
            public override void AddedDerivable(Object derivable)
            {
                base.AddedDerivable(derivable);

                if (derivable.ToString().Equals("Acme"))
                {
                }
            }
Exemplo n.º 3
0
            /// <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
                }
            }
Exemplo n.º 4
0
            public override void AddedDerivable(Object derivable)
            {
                base.AddedDerivable(derivable);

                if (derivable.ToString().Equals("BlahBLah"))
                {
                    // Break when "BlahBlah"
                }
            }