コード例 #1
0
ファイル: Link.cs プロジェクト: xul8tr/Qwiq
        protected internal Link([CanBeNull] string comment, BaseLinkType baseType)
        {
            if (baseType == BaseLinkType.None)
            {
                throw new ArgumentOutOfRangeException(nameof(baseType));
            }

            Comment  = comment;
            BaseType = baseType;
        }
コード例 #2
0
 /// <summary>
 /// Gets the wrapper.
 /// </summary>
 /// <param name="src">The source.</param>
 /// <returns>IBaseLinkType.</returns>
 public static IBaseLinkType GetWrapper(BaseLinkType src)
 {
     return(default(IBaseLinkType));
 }