Example #1
0
        internal GlueCollectionsBuilder(CSharpToJavascriptConverter converter, Type collectionType)
        {
            _Converter = converter;

            var elementType = collectionType.GetEnumerableBase();

            elementType = elementType?.GetUnderlyingType();
            _BasicType  = converter.IsBasicType(elementType) ? elementType : null;
        }
 protected GlueObjectDynamicBuilder(CSharpToJavascriptConverter converter)
 {
     _Converter = converter;
 }
Example #3
0
 public GlueObjectBuilder(CSharpToJavascriptConverter converter, IWebSessionLogger logger, Type type)
 {
     _Converter        = converter;
     _Logger           = logger;
     _PropertyAccessor = type.GetTypePropertyInfo();
 }
 public GlueObjectDictionaryBuilder(CSharpToJavascriptConverter converter, Type targetType) : base(converter)
 {
     _TargetType = targetType;
 }
 public GlueObjectDynamicObjectBuilder(CSharpToJavascriptConverter converter) : base(converter)
 {
 }