コード例 #1
0
        public DataDyneIntentSlot Clone()
        {
            DataDyneIntentSlot slot = new DataDyneIntentSlot(Name, Type);

            slot.Value = Value;
            return(slot);
        }
コード例 #2
0
        public override bool Equals(object obj)
        {
            DataDyneIntentSlot slot = obj as DataDyneIntentSlot;

            if (slot == null)
            {
                return(false);
            }

            return(Equals(slot));
        }
コード例 #3
0
 public bool Equals(DataDyneIntentSlot slot)
 {
     return(Name == slot.Name && Type == slot.Type);
 }