示例#1
0
        public override bool Equals(object obj)
        {
            BreakpointId other = obj as BreakpointId;

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

            return(this == other);
        }
示例#2
0
 public static bool TryParse(string breakpointIdStr, out BreakpointId breakpoint)
 {
     breakpoint = null;
     if (string.IsNullOrEmpty(breakpointIdStr))
     {
         return(false);
     }
     try {
         breakpoint = new BreakpointId();
         breakpoint.Init(breakpointIdStr);
         return(true);
     } catch {
         return(false);
     }
 }