Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 /// <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)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, Exception exception) :
     base(type, message, exception)
 {
 }
Ejemplo n.º 5
0
 /// <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)
 {
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
Ejemplo n.º 7
0
 /// <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;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ResultDetail(ResultDetailType type, string message, string location)
     : this(type, message, location, null)
 {
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, Exception exception)
     : base(type, message, exception)
 {
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
Ejemplo n.º 11
0
 /// <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;
 }
Ejemplo n.º 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) { }
Ejemplo n.º 15
0
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public FormalConstraintViolationResultDetail(ResultDetailType type, string message, string location) :
     base(type, message, location, null)
 {
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public RequiredElementMissingResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
Ejemplo n.º 17
0
 /// <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;
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public InsufficientRepetionsResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location, null)
 {
 }
Ejemplo n.º 19
0
 /// <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;
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public MandatoryElementMissingResultDetail(ResultDetailType type, string message, string location)
     : base(type, message, location)
 {
 }
Ejemplo n.º 21
0
 /// <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;
 }
Ejemplo n.º 22
0
 /// <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)
 {
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Create a new instance of the datatype result detail
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, Exception exception)
     : base(type, message, exception)
 {
 }
Ejemplo n.º 24
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("Element '{0}#{1}' is not supported and was not interpreted", elementName, elementNamespace), location, exception)
 {
 }
Ejemplo n.º 25
0
 /// <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)
 {
 }
Ejemplo n.º 26
0
 /// <summary>
 /// Creates a new instance of the result detail class
 /// </summary>
 public ValidationResultDetail(ResultDetailType type, string message, string location) :
     base(type, message, location, null)
 {
 }