src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Serializer.cs
/// <summary>
/// Add an error for not able to monikerize an instance of the given DomainClass.
/// </summary>
/// <param name="serializationContext">SerializationContext to add the error message to.</param>
/// <param name="domainClassName">Name of the DomainClass whose instance cannot be monikerized.</param>
Add an error for not able to monikerize an instance of the given DomainClass.
Add an error for not able to monikerize an instance of the given DomainClass .
public static void CannotMonikerizeElement(DslModeling::SerializationContext serializationContext, string domainClassName)
		{
			#region Check Parameters
			global::System.Diagnostics.Debug.Assert(serializationContext != null);
			if (serializationContext == null)
				throw new global::System.ArgumentNullException("serializationContext");
			global::System.Diagnostics.Debug.Assert(!string.IsNullOrEmpty(domainClassName));
			if (string.IsNullOrEmpty(domainClassName))
				throw new global::System.ArgumentNullException("domainClassName");
			#endregion
			DslModeling::SerializationUtilities.AddMessage(
				serializationContext.Result,
				null,	
				DslModeling::SerializationMessageKind.Error,
				string.Format(
					global::System.Globalization.CultureInfo.CurrentCulture,
					ResourceManager.GetString("CannotMonikerizeElement"),
					domainClassName
				),
				0,
				0
			);
		}
public static void CannotMonikerizeElement ( DslModeling :: SerializationContext serializationContext , string domainClassName ) { region  Check Parameters global :: System . Diagnostics . Debug . Assert ( serializationContext != null ) ; if ( serializationContext == null ) throw new global :: System . ArgumentNullException ( " " ) ; global :: System . Diagnostics . Debug . Assert ( ! string . IsNullOrEmpty ( domainClassName ) ) ; if ( string . IsNullOrEmpty ( domainClassName ) ) throw new global :: System . ArgumentNullException ( " " ) ; endregion DslModeling :: SerializationUtilities . AddMessage ( serializationContext . Result , null , DslModeling :: SerializationMessageKind . Error , string . Format ( global :: System . Globalization . CultureInfo . CurrentCulture , ResourceManager . GetString ( " " ) , domainClassName ) , 0 , 0 ) ; }
Add an error for not able to monikerize an instance of the given DomainClass.
Add an error for not able to monikerize an instance of the given DomainClass .
/* no location available for this error, because save failed. */
serializationContext
DslModeling::SerializationContext
SerializationContext to add the error message to.
SerializationContext to add the error message to .
domainClassName
string
Name of the DomainClass whose instance cannot be monikerized.
Name of the DomainClass whose instance cannot be monikerized .