/// <summary> /// GetValue /// </summary> /// <param name="type">The metadata modification type</param> /// <returns>byte</returns> public static int GetValue(this MetadataModificationType type) { return((int)type); }
/// <summary> /// Constructor /// </summary> /// <param name="type"></param> /// <param name="field"></param> public MetadataModification(MetadataModificationType type, Field field) { Guard.NotNull(field, nameof(field), "field could not be null"); Type = type; Field = field; }
/// <summary> /// GetValueInByte /// </summary> /// <param name="type">The metadata modification type</param> /// <returns>byte</returns> public static byte GetValueInByte(this MetadataModificationType type) { return((byte)type); }