コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected final <E extends Exception> void writeTo(ValueWriter<E> writer, ValueWriter_ArrayType type, java.time.temporal.Temporal[] values) throws E
        protected internal void WriteTo <E>(ValueWriter <E> writer, ValueWriter_ArrayType type, Temporal[] values) where E : Exception
        {
            writer.BeginArray(values.Length, type);
            foreach (Temporal x in values)
            {
                Value value = Values.TemporalValue(x);
                value.WriteTo(writer);
            }
            writer.EndArray();
        }
コード例 #2
0
 public static Special BeginArray(int size, ValueWriter_ArrayType arrayType)
 {
     return(new Special(BeginArray, size + arrayType.ToString()));
 }
コード例 #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void beginArray(int size, ValueWriter_ArrayType arrayType) throws E
        public override void BeginArray(int size, ValueWriter_ArrayType arrayType)
        {           // no-op
        }
コード例 #4
0
 public override void BeginArray(int size, ValueWriter_ArrayType arrayType)
 {
     Buffer.Add(Specials.BeginArray(size, arrayType));
 }
コード例 #5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void beginArray(int size, ValueWriter_ArrayType arrayType) throws E
        public override void BeginArray(int size, ValueWriter_ArrayType arrayType)
        {
            throw Exception("beginArray");
        }