コード例 #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"))
                {
                }
            }
コード例 #2
0
            public override void AddedDerivable(Object derivable)
            {
                base.AddedDerivable(derivable);

                if (derivable.ToString().Equals("Acme"))
                {
                }
            }
コード例 #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
                }
            }
コード例 #4
0
            public override void AddedDerivable(Object derivable)
            {
                base.AddedDerivable(derivable);

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