コード例 #1
0
        /// <summary>
        /// Returns true if the breakpoint does not correspond to a file on disk
        /// </summary>
        /// <param name="netBp">Breakpoint</param>
        /// <returns>True if hte breakpoint does not correspond to a file on disk otherwise false</returns>
        public static bool IsUnknownFile(this SledNetworkBreakpoint netBp)
        {
            if (netBp == null)
            {
                throw new ArgumentNullException("netBp");
            }

            return(string.IsNullOrEmpty(netBp.File));
        }
コード例 #2
0
ファイル: ISledDebugService.cs プロジェクト: arsaccol/SLED
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="breakpoint">Breakpoint</param>
 public SledDebugServiceBreakpointEventArgs(SledNetworkBreakpoint breakpoint)
 {
     Breakpoint = breakpoint;
 }
コード例 #3
0
ファイル: ISledDebugService.cs プロジェクト: arsaccol/SLED
        /// <summary>
        /// Clone object
        /// </summary>
        /// <returns>Clone of original SledNetworkBreakpoint</returns>
        public object Clone()
        {
            var bp = new SledNetworkBreakpoint(LanguageId, File.Clone() as string, Line);

            return bp;
        }
コード例 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="breakpoint">Breakpoint</param>
 public SledDebugServiceBreakpointEventArgs(SledNetworkBreakpoint breakpoint)
 {
     Breakpoint = breakpoint;
 }
コード例 #5
0
        /// <summary>
        /// Clone object
        /// </summary>
        /// <returns>Clone of original SledNetworkBreakpoint</returns>
        public object Clone()
        {
            var bp = new SledNetworkBreakpoint(LanguageId, File.Clone() as string, Line);

            return(bp);
        }