public void NotImplementedTypes_Success(ProfileFieldType type)
        {
            var attr    = new OwnIdFieldTypeAttribute(type);
            var fixture = new Fixture();

            attr.IsValid(fixture.Create <string>()).Should().BeTrue();
        }
Beispiel #2
0
 public TemplateTag(string name, ProfileFieldType type)
 {
     Name = name;
     FieldType = type;
 }
Beispiel #3
0
 public TemplateTag(string name, ProfileFieldType type)
 {
     Name      = name;
     FieldType = type;
 }
Beispiel #4
0
 /// <summary>
 /// </summary>
 /// <param name="profileFieldType">
 ///     Value for <see cref="FieldType" />. Determines property format with
 ///     <see cref="ProfileFieldType" />
 /// </param>
 public OwnIdFieldTypeAttribute(ProfileFieldType profileFieldType = ProfileFieldType.Text) : base(
         Constants.DefaultInvalidFormatErrorMessage)
 {
     FieldType = profileFieldType;
 }