Exemplo n.º 1
0
 static BinderProvider()
 {
     ProviderInstance = new BinderProvider();
     DocumentBinder   = new DocumentBinder(ProviderInstance);
     NamespaceBinder  = new NamespaceBinder(ProviderInstance);
     StructBinder     = new StructBinder(ProviderInstance);
     EnumBinder       = new EnumBinder(ProviderInstance);
     EnumMemberBinder = new EnumMemberBinder(ProviderInstance);
     FieldBinder      = new FieldBinder(StructBinder, ProviderInstance);
     FieldTypeBinder  = new FieldTypeBinder(ProviderInstance);
     BaseTypeBinder   = new BaseTypeBinder();
     UserTypeBinder   = new UserTypeBinder();
     ListTypeBinder   = new ListTypeBinder(ProviderInstance);
     MapTypeBinder    = new MapTypeBinder(ProviderInstance);
     SetTypeBinder    = new SetTypeBinder(ProviderInstance);
 }
Exemplo n.º 2
0
 static BinderProvider()
 {
     ProviderInstance         = new BinderProvider();
     DocumentBinder           = new DocumentBinder(ProviderInstance);
     NamespaceBinder          = new NamespaceBinder(ProviderInstance);
     StructBinder             = new StructBinder(ProviderInstance);
     UnionBinder              = new UnionBinder(ProviderInstance);
     ExceptionBinder          = new ExceptionBinder(ProviderInstance);
     EnumBinder               = new EnumBinder(ProviderInstance);
     EnumMemberBinder         = new EnumMemberBinder(ProviderInstance);
     FieldBinder              = new FieldBinder(ProviderInstance);
     FieldTypeBinder          = new FieldTypeBinder(ProviderInstance);
     BaseTypeBinder           = new BaseTypeBinder();
     UserTypeBinder           = new UserTypeBinder();
     ListTypeBinder           = new ListTypeBinder(ProviderInstance);
     MapTypeBinder            = new MapTypeBinder(ProviderInstance);
     SetTypeBinder            = new SetTypeBinder(ProviderInstance);
     ConstantBinder           = new ConstantBinder(ProviderInstance);
     ConstantExpressionBinder = new ConstantExpressionBinder();
 }