Esempio n. 1
0
        private static void OnAssigmentExecuted(Assignment assignment, BuildContext buildContext)
        {
            var ambientPropertyAssignment = new AmbientMemberAssignment
            {
                Property = assignment.Member,
                Value    = assignment.Value
            };

            buildContext.AmbientRegistrator.RegisterAssignment(ambientPropertyAssignment);
        }
Esempio n. 2
0
 protected bool Equals(AmbientMemberAssignment other)
 {
     return(Equals(Property, other.Property) && Equals(Value, other.Value));
 }