コード例 #1
0
 /// <inheritdoc />
 public CompositeMarshaller(
     CompositeDefinitionType type, TDefinition definition, CreateIdentifier createIdentifier)
 {
     Definition              = definition;
     CreateIdentifier        = createIdentifier;
     identifierDtoMarshaller = new IdentifierDtoMarshaller <TIdentifier, TDefinition>(type.Identifiers, createIdentifier);
 }
コード例 #2
0
            public Args(ValidatingVisitor validator, TDefinition definition, IValidationLog log, DelegateValidationRule <TDefinition> self)
            {
                ArgumentUtility.CheckNotNull("validator", validator);
                ArgumentUtility.CheckNotNull("definition", definition);
                ArgumentUtility.CheckNotNull("log", log);
                ArgumentUtility.CheckNotNull("self", self);

                _validator  = validator;
                _self       = self;
                _log        = log;
                _definition = definition;
            }
コード例 #3
0
 /// <inheritdoc />
 public SimpleMarshaller(TDefinition definition, CreateIdentifier createIdentifier)
 {
     Definition       = definition;
     CreateIdentifier = createIdentifier;
 }