ModelBuilder.DefaultBuildLog.CreateProperty C# (CSharp) Method

CreateProperty() public method

The parameter is null. The parameter is null. The parameter is null.
public CreateProperty ( Type propertyType, string propertyName, object context ) : void
propertyType System.Type
propertyName string
context object
return void
        public void CreateProperty(Type propertyType, string propertyName, object context)
        {
            if (propertyType == null)
            {
                throw new ArgumentNullException(nameof(propertyType));
            }

            if (propertyName == null)
            {
                throw new ArgumentNullException(nameof(propertyName));
            }

            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            WriteMessage(
                Resources.DefaultBuildLog_CreateProperty,
                propertyName,
                propertyType.FullName,
                context.GetType().FullName);
        }