示例#1
0
// ReSharper restore MemberCanBePrivate.Global
		/// <summary>
		/// </summary>
		public virtual ThemaCompilerError CustomValidation(ThemaLink link, ThemaDescriptor thema) {
			return null != OnCustomValidation ? OnCustomValidation(link, thema) : null;
		}
示例#2
0
		/// <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;
		}