/// <summary>
        /// Initializes a new instance of the <see cref="GetOrAddIdentifiedSerializerRepresentationOp"/> class.
        /// </summary>
        /// <param name="specifiedResourceLocator">The stream locator to inspect.</param>
        /// <param name="serializerRepresentation">The serializer representation.</param>
        /// <param name="serializationFormat">The serialization format.</param>
        public GetOrAddIdentifiedSerializerRepresentationOp(
            IResourceLocator specifiedResourceLocator,
            SerializerRepresentation serializerRepresentation,
            SerializationFormat serializationFormat)
        {
            specifiedResourceLocator.MustForArg(nameof(specifiedResourceLocator)).NotBeNull();
            serializerRepresentation.MustForArg(nameof(serializerRepresentation)).NotBeNull();
            serializationFormat.MustForArg(nameof(serializationFormat)).NotBeEqualTo(SerializationFormat.Invalid);

            this.SpecifiedResourceLocator = specifiedResourceLocator;
            this.SerializerRepresentation = serializerRepresentation;
            this.SerializationFormat      = serializationFormat;
        }