Example #1
0
 /// <summary>
 /// Create a new instance of the datatype result detail.
 /// </summary>
 public FileResultDetail(ResultDetailType type, string message, string location, Exception exception)
 {
     this.Type = type;
     this.Message = message;
     this.Exception = exception;
     this.Location = location;
 }
 /// <summary>
 /// Creates a new instance of the property propagated result detail
 /// </summary>
 public PropertyValuePropagatedResultDetail(ResultDetailType type, String originalPath, String destinationPath, Object valuePropagated, string location)
     : base(type, null, location, null)
 {
     this.DestinationPath = destinationPath;
     this.OriginalPath = originalPath;
     this.ValuePropagated = valuePropagated;
 }
 /// <summary>
 /// Create a new instance of the not implemented element result detail
 /// </summary>
 public NotSupportedChoiceResultDetail(ResultDetailType type, string message, string location, Exception exception)
     : base(type, message, location, exception)
 {
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, Exception exception) :
     base(type, message, exception)
 {
 }
 /// <summary>
 /// Create a new instance of the vocabulary issue result detail
 /// </summary>
 public VocabularyIssueResultDetail(ResultDetailType type, string message, string location, Exception exception)
     : base(type, message, location, exception)
 {
 }
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public ResultDetail(ResultDetailType type, string message, Exception exception)
 {
     this.Type = type;
     this.Message = message;
     this.Exception = exception;
 }
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ResultDetail(ResultDetailType type, string message, string location)
     : this(type, message, location, null)
 {
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, Exception exception)
     : base(type, message, exception)
 {
 }
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
 /// <summary>
 /// Creates a new instance of the datatype validation result detail class with the specified parameters
 /// </summary>
 /// <param name="type">The type of result detail</param>
 /// <param name="datatypeName">The name of the datatype that is not supported</param>
 /// <param name="location">The location within the instance that that is not supported</param>
 public DatatypeValidationResultDetail(ResultDetailType type, string datatypeName, string location)
     : base(type, null, location)
 {
     this.DatatypeName = datatypeName;
 }
 /// <summary>
 /// Creates a new instance of the unsupported data type result detail
 /// </summary>
 /// <param name="type">The type of result detail</param>
 /// <param name="propertyName">The name of the property that is not supported</param>
 /// <param name="datatypeName">The name of the datatype that is not supported</param>
 /// <param name="location">The location within the instance that that is not supported</param>
 internal UnsupportedDatatypeR1PropertyResultDetail(ResultDetailType type, string propertyName, string datatypeName, string location)
     : base(type, propertyName, datatypeName, location)
 {
 }
 /// <summary>
 /// Creates a new instance of the Unsupported Datatype Result Detail
 /// </summary>
 internal NotPermittedDatatypeR2EntityResultDetail(ResultDetailType type, string entityName, string dataTypeName, string location)
     : base(type, null, location, null)
 {
     this.DatatypeName = dataTypeName;
     this.EntityName = entityName;
 }
Example #14
0
 /// <summary>
 /// Create a new instance of the not implemented element result detail
 /// </summary>
 public NotImplementedElementResultDetail(ResultDetailType type, string elementName, string elementNamespace, string location, Exception exception) :
     base(type, String.Format(EverestFrameworkContext.CurrentCulture, "Element '{0}#{1}' is not supported and was not interpreted", elementName, elementNamespace), location, exception) { }
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, string location) :
     base(type, message, location, null)
 {
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public RequiredElementMissingResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
 /// <summary>
 /// Creates a new instance of hte datatype result detail
 /// </summary>
 public ResultDetail(ResultDetailType type, string message, string location, Exception exception)
     : this(type, message, exception)
 {
     this.Location = location;
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public InsufficientRepetionsResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
 /// <summary>
 /// Creates a new instance of the datatype validation result detail class with the specified parameters
 /// </summary>
 /// <param name="type">The type of result detail</param>
 /// <param name="datatypeName">The name of the datatype that is not supported</param>
 /// <param name="location">The location within the instance that that is not supported</param>
 public DatatypeFlavorValidationResultDetail(ResultDetailType type, string datatypeName, string flavorName, string location)
     : base(type, datatypeName, location)
 {
     this.FlavorName = flavorName;
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public MandatoryElementMissingResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location)
 {
 }
 /// <summary>
 /// Creates a new instance of the unsupported data type result detail
 /// </summary>
 /// <param name="type">The type of result detail</param>
 /// <param name="propertyName">The name of the property that is not supported</param>
 /// <param name="datatypeName">The name of the datatype that is not supported</param>
 /// <param name="location">The location within the instance that that is not supported</param>
 protected UnsupportedDatatypePropertyResultDetail(ResultDetailType type, string propertyName, string datatypeName, string location)
     : base(type, null, null, null)
 {
     this.DatatypeName = datatypeName;
     this.PropertyName = propertyName;
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public NotImplementedElementResultDetail(ResultDetailType type, string elementName, string elementNamespace, Exception exception)
     : this(type, elementName, elementNamespace, null, exception)
 {
 }
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, Exception exception)
     : base(type, message, exception)
 {
 }
 /// <summary>
 /// Create a new instance of the not implemented element result detail
 /// </summary>
 public NotImplementedElementResultDetail(ResultDetailType type, string elementName, string elementNamespace, string location, Exception exception)
     : base(type, String.Format("Element '{0}#{1}' is not supported and was not interpreted", elementName, elementNamespace), location, exception)
 {
 }
 /// <summary>
 /// Creates a new instance of the not implemented result detail with the specified <paramref name="type"/>,
 /// <paramref name="message"/> which occurred at <paramref name="location"/>
 /// </summary>
 /// <param name="type">Indicates the type of result detail (error, warning, informational)</param>
 /// <param name="message">A human readable message that describes the result detail</param>
 /// <param name="location">The locaiton within the stream where the result detail was triggered.</param>
 public NotImplementedResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location)
 {
 }
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, string location) :
     base(type, message, location, null)
 {
 }