// ReSharper restore MemberCanBePrivate.Global /// <summary> /// </summary> public virtual ThemaCompilerError CustomValidation(ThemaLink link, ThemaDescriptor thema) { return null != OnCustomValidation ? OnCustomValidation(link, thema) : null; }
/// <summary> /// </summary> /// <param name="source"> </param> /// <returns> </returns> public ThemaLink Import(ThemaDescriptor source) { var copy = (ThemaLink) MemberwiseClone(); copy.Source = source; copy.SourceCode = source.Code; return copy; }