Exemple #1
0
        protected internal Link([CanBeNull] string comment, BaseLinkType baseType)
        {
            if (baseType == BaseLinkType.None)
            {
                throw new ArgumentOutOfRangeException(nameof(baseType));
            }

            Comment  = comment;
            BaseType = baseType;
        }
Exemple #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));
 }