Example #1
0
		protected virtual void Init(NeoDatis.Odb.Core.Transaction.ISession session, string
			 name)
		{
			this.name = name;
			this.session = session;
			readingObjectInfo = new OdbHashMap<NeoDatis.Odb.OID, object[]>();
		}
		public ServerSession(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine engine, string
			 sessionId) : base(engine, sessionId)
		{
			classInfoIds = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Odb.OID
				>();
			this.sessionManager = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClientServerSessionManager
				();
		}
		public ClassInfoList(NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo mainClassInfo
			)
		{
			this.classInfos = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo
				>();
			this.classInfos[mainClassInfo.GetFullClassName()] = mainClassInfo;
			this.mainClassInfo = mainClassInfo;
		}
		public ConnectionManager(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine engine)
		{
			// A map that contains oids that are locked. The key is the oid, the value is the connection that hold the object
			this.storageEngine = engine;
			connections = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Odb.Core.Server.Connection.IConnection
				>();
			lockedOids = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<NeoDatis.Odb.OID, NeoDatis.Odb.Core.Server.Connection.IConnection
				>();
		}
		public override void Clear(bool setToNull)
		{
			base.Clear(setToNull);
			oidsOfNNoi.Clear();
			if (setToNull)
			{
				oidsOfNNoi = null;
			}
		}
		public ClientObjectIntrospector(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine
			, string connectionId) : base(storageEngine)
		{
			clientOids = new NeoDatis.Tool.Wrappers.List.OdbArrayList<NeoDatis.Odb.OID>();
			aois = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<NeoDatis.Odb.OID, NeoDatis.Odb.Core.Server.Layers.Layer2.Meta.ClientNonNativeObjectInfo
				>();
			objects = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<NeoDatis.Odb.OID, object>();
			sessionManager = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClientServerSessionManager
				();
			this.connectionId = connectionId;
		}
Example #7
0
 /// <summary>
 /// Extracts description information from the server's response.
 /// </summary>
 /// <param name='description'>
 /// The structure to be dissected.
 /// </param>
 internal Description(System.Collections.Generic.IDictionary<string, object> description)
 {
     this.Uid = (string)description["uid"];
     if(description.ContainsKey("keys")){
         this.Keys = new Keys((System.Collections.Generic.IDictionary<string, object>)description["keys"]);
     }
     this.Physical = new Internal.DescriptionPhysical((System.Collections.Generic.IDictionary<string, object>)description["physical"]);
     this.Policy = new Internal.DescriptionPolicy((System.Collections.Generic.IDictionary<string, object>)description["policy"]);
     this.Stats = new Internal.DescriptionStats((System.Collections.Generic.IDictionary<string, object>)description["stats"]);
     this.Meta = (System.Collections.Generic.IDictionary<string, object>)description["meta"];
 }
		private Serializer()
		{
			serializers = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Odb.Impl.Core.Layers.Layer2.Meta.Serialization.ISerializer
				>();
			serializers.Add(GetClassId(typeof(NeoDatis.Odb.Core.Layers.Layer2.Meta.AtomicNativeObjectInfo
				)), new NeoDatis.Odb.Impl.Core.Layers.Layer2.Meta.Serialization.AtomicNativeObjectSerializer
				());
			serializers.Add(GetClassId(typeof(NeoDatis.Odb.Core.Layers.Layer2.Meta.CollectionObjectInfo
				)), new NeoDatis.Odb.Impl.Core.Layers.Layer2.Meta.Serialization.CollectionObjectInfoSerializer
				());
		}
		private void Init()
		{
			listOfUpdateTriggers = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Tool.Wrappers.List.IOdbList
				<NeoDatis.Odb.Core.Trigger.Trigger>>();
			listOfDeleteTriggers = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Tool.Wrappers.List.IOdbList
				<NeoDatis.Odb.Core.Trigger.Trigger>>();
			listOfSelectTriggers = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Tool.Wrappers.List.IOdbList
				<NeoDatis.Odb.Core.Trigger.Trigger>>();
			listOfInsertTriggers = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Tool.Wrappers.List.IOdbList
				<NeoDatis.Odb.Core.Trigger.Trigger>>();
		}
Example #10
0
        public void Generate(
            System.Collections.Generic.IDictionary<string, System.IO.TextWriter> writers,
            string p1, string p2)
        {
            this.writers = writers;

            //{parameters_set}
            this.p1 = p1;
            this.p2 = p2;

            this.Generate();
        }
Example #11
0
		public MetaModel()
		{
			this.classPool = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassPool();
			rapidAccessForUserClassesByName = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string
				, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo>(10);
			rapidAccessForSystemClassesByName = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string
				, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo>(10);
			rapidAccessForClassesByOid = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<NeoDatis.Odb.OID
				, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo>(10);
			allClassInfos = new NeoDatis.Tool.Wrappers.List.OdbArrayList<NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo
				>();
		}
Example #12
0
		public Connection(NeoDatis.Odb.Core.Server.Connection.ConnectionManager connectionManager
			, string connectionId, NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine
			)
		{
			this.connectionManager = connectionManager;
			this.id = connectionId;
			this.storageEngine = storageEngine;
			this.baseIdentifier = storageEngine.GetBaseIdentification().GetIdentification();
			this.oidsLockedForUpdate = new System.Collections.Generic.Dictionary<NeoDatis.Odb.OID
				, long>();
			actions = new int[NeoDatis.Odb.Core.Server.Connection.ConnectionAction.GetNumberOfActions
				()];
		}
		public DefaultServerConnection(NeoDatis.Odb.Core.Server.Connection.ConnectionManager
			 connectionManager, string connectionId, NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine
			 storageEngine)
		{
			this.connectionManager = connectionManager;
			this.id = connectionId;
			this.storageEngine = storageEngine;
			this.baseIdentifier = storageEngine.GetBaseIdentification().GetIdentification();
			this.oidsLockedForUpdate = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<NeoDatis.Odb.OID
				, long>();
			actions = new int[NeoDatis.Odb.Core.Server.Connection.ConnectionAction.GetNumberOfActions
				()];
		}
		public LazyODBBTreePersister(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine engine
			)
		{
			// See the map strategy performance test at
			// test/org.neodatis.odb.test.performance.TestMapPerf
			// TODO create a boolean value to know if data must be saved on update or
			// only at the end
			oids = new System.Collections.Generic.Dictionary<NeoDatis.Odb.OID, object>();
			modifiedObjectOids = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<object, int>();
			modifiedObjectOidList = new NeoDatis.Tool.Wrappers.List.OdbArrayList<NeoDatis.Odb.OID
				>(500);
			this.engine = engine;
			this.engine.AddCommitListener(this);
			smap = oids;
			smodifiedObjects = modifiedObjectOids;
		}
Example #15
0
 protected internal override MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndPolymorphicItemReadOnlyCollectionField UnpackFromCore(MsgPack.Unpacker unpacker)
 {
     MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndPolymorphicItemReadOnlyCollectionField result = default(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndPolymorphicItemReadOnlyCollectionField);
     result = new MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndPolymorphicItemReadOnlyCollectionField();
     if (unpacker.IsArrayHeader)
     {
         int unpacked   = default(int);
         int itemsCount = default(int);
         itemsCount = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         System.Collections.Generic.IDictionary <string, MsgPack.Serialization.FileSystemEntry> nullable = default(System.Collections.Generic.IDictionary <string, MsgPack.Serialization.FileSystemEntry>);
         if ((unpacked < itemsCount))
         {
             if ((unpacker.Read() == false))
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(0);
             }
             if (((unpacker.IsArrayHeader == false) &&
                  (unpacker.IsMapHeader == false)))
             {
                 nullable = this._serializer0.UnpackFrom(unpacker);
             }
             else
             {
                 MsgPack.Unpacker disposable = default(MsgPack.Unpacker);
                 disposable = unpacker.ReadSubtree();
                 try {
                     nullable = this._serializer0.UnpackFrom(disposable);
                 }
                 finally {
                     if (((disposable == null)
                          == false))
                     {
                         disposable.Dispose();
                     }
                 }
             }
         }
         if (((nullable == null)
              == false))
         {
             System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <string, MsgPack.Serialization.FileSystemEntry> > enumerator = nullable.GetEnumerator();
             System.Collections.Generic.KeyValuePair <string, MsgPack.Serialization.FileSystemEntry> current;
             try {
                 for (
                     ; enumerator.MoveNext();
                     )
                 {
                     current = enumerator.Current;
                     result.DictStaticKeyAndPolymorphicItem.Add(current.Key, current.Value);
                 }
             }
             finally {
                 enumerator.Dispose();
             }
         }
         unpacked = (unpacked + 1);
     }
     else
     {
         int itemsCount0 = default(int);
         itemsCount0 = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         for (int i = 0; (i < itemsCount0); i = (i + 1))
         {
             string key       = default(string);
             string nullable0 = default(string);
             nullable0 = MsgPack.Serialization.UnpackHelpers.UnpackStringValue(unpacker, typeof(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndPolymorphicItemReadOnlyCollectionField), "MemberName");
             if (((nullable0 == null)
                  == false))
             {
                 key = nullable0;
             }
             else
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewNullIsProhibited("MemberName");
             }
             if ((key == "DictStaticKeyAndPolymorphicItem"))
             {
                 System.Collections.Generic.IDictionary <string, MsgPack.Serialization.FileSystemEntry> nullable1 = default(System.Collections.Generic.IDictionary <string, MsgPack.Serialization.FileSystemEntry>);
                 if ((unpacker.Read() == false))
                 {
                     throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(i);
                 }
                 if (((unpacker.IsArrayHeader == false) &&
                      (unpacker.IsMapHeader == false)))
                 {
                     nullable1 = this._serializer0.UnpackFrom(unpacker);
                 }
                 else
                 {
                     MsgPack.Unpacker disposable0 = default(MsgPack.Unpacker);
                     disposable0 = unpacker.ReadSubtree();
                     try {
                         nullable1 = this._serializer0.UnpackFrom(disposable0);
                     }
                     finally {
                         if (((disposable0 == null)
                              == false))
                         {
                             disposable0.Dispose();
                         }
                     }
                 }
                 if (((nullable1 == null)
                      == false))
                 {
                     System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <string, MsgPack.Serialization.FileSystemEntry> > enumerator0 = nullable1.GetEnumerator();
                     System.Collections.Generic.KeyValuePair <string, MsgPack.Serialization.FileSystemEntry> current0;
                     try {
                         for (
                             ; enumerator0.MoveNext();
                             )
                         {
                             current0 = enumerator0.Current;
                             result.DictStaticKeyAndPolymorphicItem.Add(current0.Key, current0.Value);
                         }
                     }
                     finally {
                         enumerator0.Dispose();
                     }
                 }
             }
             else
             {
                 unpacker.Skip();
             }
         }
     }
     return(result);
 }
Example #16
0
 protected internal override MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty UnpackFromCore(MsgPack.Unpacker unpacker)
 {
     MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty result = default(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty);
     result = new MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty();
     if (unpacker.IsArrayHeader)
     {
         int unpacked   = default(int);
         int itemsCount = default(int);
         itemsCount = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         System.Collections.Generic.IDictionary <object, object> nullable = default(System.Collections.Generic.IDictionary <object, object>);
         if ((unpacked < itemsCount))
         {
             if ((unpacker.Read() == false))
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(0);
             }
             if (((unpacker.IsArrayHeader == false) &&
                  (unpacker.IsMapHeader == false)))
             {
                 nullable = this._serializer0.UnpackFrom(unpacker);
             }
             else
             {
                 MsgPack.Unpacker disposable = default(MsgPack.Unpacker);
                 disposable = unpacker.ReadSubtree();
                 try {
                     nullable = this._serializer0.UnpackFrom(disposable);
                 }
                 finally {
                     if (((disposable == null)
                          == false))
                     {
                         disposable.Dispose();
                     }
                 }
             }
         }
         if (((nullable == null)
              == false))
         {
             if ((result.DictObjectKeyAndItem == null))
             {
                 this._methodBasePolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty_set_DictObjectKeyAndItem0.Invoke(result, new object[] {
                     nullable
                 });
             }
             else
             {
                 System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <object, object> > enumerator = nullable.GetEnumerator();
                 System.Collections.Generic.KeyValuePair <object, object> current;
                 try {
                     for (
                         ; enumerator.MoveNext();
                         )
                     {
                         current = enumerator.Current;
                         result.DictObjectKeyAndItem.Add(current.Key, current.Value);
                     }
                 }
                 finally {
                     enumerator.Dispose();
                 }
             }
         }
         unpacked = (unpacked + 1);
     }
     else
     {
         int itemsCount0 = default(int);
         itemsCount0 = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         for (int i = 0; (i < itemsCount0); i = (i + 1))
         {
             string key       = default(string);
             string nullable0 = default(string);
             nullable0 = MsgPack.Serialization.UnpackHelpers.UnpackStringValue(unpacker, typeof(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty), "MemberName");
             if (((nullable0 == null)
                  == false))
             {
                 key = nullable0;
             }
             else
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewNullIsProhibited("MemberName");
             }
             if ((key == "DictObjectKeyAndItem"))
             {
                 System.Collections.Generic.IDictionary <object, object> nullable1 = default(System.Collections.Generic.IDictionary <object, object>);
                 if ((unpacker.Read() == false))
                 {
                     throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(i);
                 }
                 if (((unpacker.IsArrayHeader == false) &&
                      (unpacker.IsMapHeader == false)))
                 {
                     nullable1 = this._serializer0.UnpackFrom(unpacker);
                 }
                 else
                 {
                     MsgPack.Unpacker disposable0 = default(MsgPack.Unpacker);
                     disposable0 = unpacker.ReadSubtree();
                     try {
                         nullable1 = this._serializer0.UnpackFrom(disposable0);
                     }
                     finally {
                         if (((disposable0 == null)
                              == false))
                         {
                             disposable0.Dispose();
                         }
                     }
                 }
                 if (((nullable1 == null)
                      == false))
                 {
                     if ((result.DictObjectKeyAndItem == null))
                     {
                         this._methodBasePolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemPrivateSetterCollectionProperty_set_DictObjectKeyAndItem0.Invoke(result, new object[] {
                             nullable1
                         });
                     }
                     else
                     {
                         System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <object, object> > enumerator0 = nullable1.GetEnumerator();
                         System.Collections.Generic.KeyValuePair <object, object> current0;
                         try {
                             for (
                                 ; enumerator0.MoveNext();
                                 )
                             {
                                 current0 = enumerator0.Current;
                                 result.DictObjectKeyAndItem.Add(current0.Key, current0.Value);
                             }
                         }
                         finally {
                             enumerator0.Dispose();
                         }
                     }
                 }
             }
             else
             {
                 unpacker.Skip();
             }
         }
     }
     return(result);
 }
Example #17
0
 private void SetUnpackedValueOfDictPolymorphicKeyAndItem(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictPolymorphicKeyAndItemGetOnlyCollectionProperty unpackingContext, System.Collections.Generic.IDictionary <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> unpackedValue)
 {
     System.Collections.Generic.IDictionary <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> existent = default(System.Collections.Generic.IDictionary <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>);
     existent = unpackingContext.DictPolymorphicKeyAndItem;
     System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> > enumerator = unpackedValue.GetEnumerator();
     System.Collections.Generic.KeyValuePair <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> current;
     try {
         for (
             ; enumerator.MoveNext();
             )
         {
             current = enumerator.Current;
             existent.Add(current.Key, current.Value);
         }
     }
     finally {
         enumerator.Dispose();
     }
 }
Example #18
0
		/// <summary> Construct a new SegmentInfo instance by reading a
		/// previously saved SegmentInfo from input.
		/// 
		/// </summary>
		/// <param name="dir">directory to load from
		/// </param>
		/// <param name="format">format of the segments info file
		/// </param>
		/// <param name="input">input handle to read segment info from
		/// </param>
		internal SegmentInfo(Directory dir, int format, IndexInput input)
		{
			this.dir = dir;
			name = input.ReadString();
			docCount = input.ReadInt();
			if (format <= SegmentInfos.FORMAT_LOCKLESS)
			{
				delGen = input.ReadLong();
				if (format <= SegmentInfos.FORMAT_SHARED_DOC_STORE)
				{
					docStoreOffset = input.ReadInt();
					if (docStoreOffset != - 1)
					{
						docStoreSegment = input.ReadString();
						docStoreIsCompoundFile = (1 == input.ReadByte());
					}
					else
					{
						docStoreSegment = name;
						docStoreIsCompoundFile = false;
					}
				}
				else
				{
					docStoreOffset = - 1;
					docStoreSegment = name;
					docStoreIsCompoundFile = false;
				}
				if (format <= SegmentInfos.FORMAT_SINGLE_NORM_FILE)
				{
					hasSingleNormFile = (1 == input.ReadByte());
				}
				else
				{
					hasSingleNormFile = false;
				}
				int numNormGen = input.ReadInt();
				if (numNormGen == NO)
				{
					normGen = null;
				}
				else
				{
					normGen = new long[numNormGen];
					for (int j = 0; j < numNormGen; j++)
					{
						normGen[j] = input.ReadLong();
					}
				}
				isCompoundFile = (sbyte) input.ReadByte();
				preLockless = (isCompoundFile == CHECK_DIR);
				if (format <= SegmentInfos.FORMAT_DEL_COUNT)
				{
					delCount = input.ReadInt();
					System.Diagnostics.Debug.Assert(delCount <= docCount);
				}
				else
					delCount = - 1;
				if (format <= SegmentInfos.FORMAT_HAS_PROX)
					hasProx = input.ReadByte() == 1;
				else
					hasProx = true;
				
				if (format <= SegmentInfos.FORMAT_DIAGNOSTICS)
				{
					diagnostics = input.ReadStringStringMap();
				}
				else
				{
					diagnostics = new System.Collections.Generic.Dictionary<string,string>();
				}
			}
			else
			{
				delGen = CHECK_DIR;
				normGen = null;
				isCompoundFile = (sbyte) (CHECK_DIR);
				preLockless = true;
				hasSingleNormFile = false;
				docStoreOffset = - 1;
				docStoreIsCompoundFile = false;
				docStoreSegment = null;
				delCount = - 1;
				hasProx = true;
				diagnostics = new System.Collections.Generic.Dictionary<string,string>();
			}
		}
Example #19
0
		protected ClassInfo(string fullClassName, string extraInfo, NeoDatis.Tool.Wrappers.List.IOdbList
			<ClassAttributeInfo> attributes) : this()
		{
			this.fullClassName = fullClassName;
			this.extraInfo = extraInfo;
			this.attributes = attributes;
			this.attributesByName = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, ClassAttributeInfo
				>();
			this.attributesById = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<int, ClassAttributeInfo
				>();
			if (attributes != null)
			{
				FillAttributesMap();
			}
			this.maxAttributeId = (attributes == null ? 1 : attributes.Count + 1);
		}
 public virtual System.Threading.Tasks.Task <Azure.Response <Azure.ResourceManager.AppConfiguration.ConfigurationStore> > SetTagsAsync(System.Collections.Generic.IDictionary <string, string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     throw null;
 }
 protected internal override MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictObjectKeyAndItemReadWriteProperty UnpackFromCore(MsgPack.Unpacker unpacker)
 {
     MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictObjectKeyAndItemReadWriteProperty result = default(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictObjectKeyAndItemReadWriteProperty);
     result = new MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictObjectKeyAndItemReadWriteProperty();
     if (unpacker.IsArrayHeader)
     {
         int unpacked   = default(int);
         int itemsCount = default(int);
         itemsCount = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         System.Collections.Generic.IDictionary <object, object> nullable = default(System.Collections.Generic.IDictionary <object, object>);
         if ((unpacked < itemsCount))
         {
             if ((unpacker.Read() == false))
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(0);
             }
             if (((unpacker.IsArrayHeader == false) &&
                  (unpacker.IsMapHeader == false)))
             {
                 nullable = this._serializer1.UnpackFrom(unpacker);
             }
             else
             {
                 MsgPack.Unpacker disposable = default(MsgPack.Unpacker);
                 disposable = unpacker.ReadSubtree();
                 try {
                     nullable = this._serializer1.UnpackFrom(disposable);
                 }
                 finally {
                     if (((disposable == null)
                          == false))
                     {
                         disposable.Dispose();
                     }
                 }
             }
         }
         if (((nullable == null)
              == false))
         {
             result.DictObjectKeyAndItem = nullable;
         }
         unpacked = (unpacked + 1);
     }
     else
     {
         int itemsCount0 = default(int);
         itemsCount0 = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         for (int i = 0; (i < itemsCount0); i = (i + 1))
         {
             string key       = default(string);
             string nullable0 = default(string);
             nullable0 = MsgPack.Serialization.UnpackHelpers.UnpackStringValue(unpacker, typeof(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictObjectKeyAndItemReadWriteProperty), "MemberName");
             if (((nullable0 == null)
                  == false))
             {
                 key = nullable0;
             }
             else
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewNullIsProhibited("MemberName");
             }
             if ((key == "DictObjectKeyAndItem"))
             {
                 System.Collections.Generic.IDictionary <object, object> nullable1 = default(System.Collections.Generic.IDictionary <object, object>);
                 if ((unpacker.Read() == false))
                 {
                     throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(i);
                 }
                 if (((unpacker.IsArrayHeader == false) &&
                      (unpacker.IsMapHeader == false)))
                 {
                     nullable1 = this._serializer1.UnpackFrom(unpacker);
                 }
                 else
                 {
                     MsgPack.Unpacker disposable0 = default(MsgPack.Unpacker);
                     disposable0 = unpacker.ReadSubtree();
                     try {
                         nullable1 = this._serializer1.UnpackFrom(disposable0);
                     }
                     finally {
                         if (((disposable0 == null)
                              == false))
                         {
                             disposable0.Dispose();
                         }
                     }
                 }
                 if (((nullable1 == null)
                      == false))
                 {
                     result.DictObjectKeyAndItem = nullable1;
                 }
             }
             else
             {
                 unpacker.Skip();
             }
         }
     }
     return(result);
 }
Example #22
0
 public static void SendCommand(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventCommand command, System.Collections.Generic.IDictionary <string, string?>?commandArguments)
 {
 }
Example #23
0
 public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword, System.Collections.Generic.IDictionary <string, string?>?arguments)
 {
 }
Example #24
0
 /// <summary>
 /// Initializes a new instance of the DataSource class.
 /// </summary>
 /// <param name="location">Data source location.</param>
 /// <param name="provider">Data source provider information.</param>
 /// <param name="properties">Property bag.</param>
 public DataSource(string location, string provider = default(string), System.Collections.Generic.IDictionary <string, JToken> properties = default(System.Collections.Generic.IDictionary <string, JToken>))
 {
     Provider   = provider;
     Location   = location;
     Properties = properties;
 }
Example #25
0
 public JsonExceptionConverter()
 {
     _searchedNamespaces = new System.Collections.Generic.Dictionary <string, System.Reflection.Assembly> {
         { typeof(System.Exception).Namespace, System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(System.Exception)).Assembly }
     };
 }
Example #26
0
 static StackObject *AssignFromStack_PendingEvents_1(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
 {
     ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
     System.Collections.Generic.IDictionary <System.Int32, System.Collections.Hashtable> @PendingEvents = (System.Collections.Generic.IDictionary <System.Int32, System.Collections.Hashtable>) typeof(System.Collections.Generic.IDictionary <System.Int32, System.Collections.Hashtable>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
     ((Hotfix_LT.Combat.CombatSyncData)o).PendingEvents = @PendingEvents;
     return(ptr_of_this_method);
 }
 public MsgPack_Serialization_PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructorSerializer(MsgPack.Serialization.SerializationContext context) : 
         base(context) {
     MsgPack.Serialization.PolymorphismSchema schema0 = default(MsgPack.Serialization.PolymorphismSchema);
     MsgPack.Serialization.PolymorphismSchema[] tupleItemsSchema0 = default(MsgPack.Serialization.PolymorphismSchema[]);
     tupleItemsSchema0 = new MsgPack.Serialization.PolymorphismSchema[7];
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema0 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema0 = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry));
     tupleItemsSchema0[0] = tupleItemSchema0;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema1 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema1 = null;
     tupleItemsSchema0[1] = tupleItemSchema1;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema2 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema2 = null;
     tupleItemsSchema0[2] = tupleItemSchema2;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema3 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema3 = null;
     tupleItemsSchema0[3] = tupleItemSchema3;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema4 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema4 = null;
     tupleItemsSchema0[4] = tupleItemSchema4;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema5 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema5 = null;
     tupleItemsSchema0[5] = tupleItemSchema5;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema6 = default(MsgPack.Serialization.PolymorphismSchema);
     tupleItemSchema6 = null;
     tupleItemsSchema0[6] = tupleItemSchema6;
     schema0 = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicTuple(typeof(System.Tuple<MsgPack.Serialization.FileSystemEntry, string, string, string, string, string, string>), tupleItemsSchema0);
     this._serializer0 = context.GetSerializer<System.Tuple<MsgPack.Serialization.FileSystemEntry, string, string, string, string, string, string>>(schema0);
     this._methodBasePolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor_set_Tuple7FirstPolymorphic0 = MsgPack.Serialization.ReflectionHelpers.GetMethod(typeof(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor), "set_Tuple7FirstPolymorphic", new System.Type[] {
                 typeof(System.Tuple<MsgPack.Serialization.FileSystemEntry, string, string, string, string, string, string>)});
     System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>[] packOperationList = default(System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>[]);
     packOperationList = new System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>[1];
     packOperationList[0] = new System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>(this.PackValueOfTuple7FirstPolymorphic);
     this._packOperationList = packOperationList;
     System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] packOperationListAsync = default(System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
     packOperationListAsync = new System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>[1];
     packOperationListAsync[0] = new System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.PackValueOfTuple7FirstPolymorphicAsync);
     this._packOperationListAsync = packOperationListAsync;
     System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>> packOperationTable = default(System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>>);
     packOperationTable = new System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>>(1);
     packOperationTable["Tuple7FirstPolymorphic"] = new System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>(this.PackValueOfTuple7FirstPolymorphic);
     this._packOperationTable = packOperationTable;
     System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>> packOperationTableAsync = default(System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>>);
     packOperationTableAsync = new System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>>(1);
     packOperationTableAsync["Tuple7FirstPolymorphic"] = new System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.PackValueOfTuple7FirstPolymorphicAsync);
     this._packOperationTableAsync = packOperationTableAsync;
     System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>[] unpackOperationList = default(System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>[]);
     unpackOperationList = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>[1];
     unpackOperationList[0] = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>(this.UnpackValueOfTuple7FirstPolymorphic);
     this._unpackOperationList = unpackOperationList;
     System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] unpackOperationListAsync = default(System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
     unpackOperationListAsync = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[1];
     unpackOperationListAsync[0] = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.UnpackValueOfTuple7FirstPolymorphicAsync);
     this._unpackOperationListAsync = unpackOperationListAsync;
     System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>> unpackOperationTable = default(System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>>);
     unpackOperationTable = new System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>>(1);
     unpackOperationTable["Tuple7FirstPolymorphic"] = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>(this.UnpackValueOfTuple7FirstPolymorphic);
     this._unpackOperationTable = unpackOperationTable;
     System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>> unpackOperationTableAsync = default(System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>>);
     unpackOperationTableAsync = new System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>>(1);
     unpackOperationTableAsync["Tuple7FirstPolymorphic"] = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.UnpackValueOfTuple7FirstPolymorphicAsync);
     this._unpackOperationTableAsync = unpackOperationTableAsync;
     this._memberNames = new string[] {
             "Tuple7FirstPolymorphic"};
     this.this_PackValueOfTuple7FirstPolymorphicDelegate = new System.Action<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor>(this.PackValueOfTuple7FirstPolymorphic);
     this.this_PackValueOfTuple7FirstPolymorphicAsyncDelegate = new System.Func<MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.PackValueOfTuple7FirstPolymorphicAsync);
     this.this_SetUnpackedValueOfTuple7FirstPolymorphicDelegate = new System.Action<MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, System.Tuple<MsgPack.Serialization.FileSystemEntry, string, string, string, string, string, string>>(this.SetUnpackedValueOfTuple7FirstPolymorphic);
     this.this_UnpackValueOfTuple7FirstPolymorphicDelegate = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int>(this.UnpackValueOfTuple7FirstPolymorphic);
     this.this_UnpackValueOfTuple7FirstPolymorphicAsyncDelegate = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Tuple_Tuple7FirstPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.UnpackValueOfTuple7FirstPolymorphicAsync);
 }
 /// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlConnection.xml' path='docs/members[@name="SqlConnection"]/RegisterColumnEncryptionKeyStoreProviders/*'/>
 public static void RegisterColumnEncryptionKeyStoreProviders(System.Collections.Generic.IDictionary <string, Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider> customProviders)
 {
 }
Example #29
0
 public JsonExceptionConverter()
 {
     _searchedNamespaces = new System.Collections.Generic.Dictionary<string, System.Reflection.Assembly> { { typeof(System.Exception).Namespace, System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(System.Exception)).Assembly } };
 }
Example #30
0
 private void SetUnpackedValueOfDictStaticKeyAndObjectItem(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictStaticKeyAndObjectItemReadOnlyCollectionField unpackingContext, System.Collections.Generic.IDictionary <string, object> unpackedValue)
 {
     System.Collections.Generic.IDictionary <string, object> existent = default(System.Collections.Generic.IDictionary <string, object>);
     existent = unpackingContext.DictStaticKeyAndObjectItem;
     System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <string, object> > enumerator = unpackedValue.GetEnumerator();
     System.Collections.Generic.KeyValuePair <string, object> current;
     try {
         for (
             ; enumerator.MoveNext();
             )
         {
             current = enumerator.Current;
             existent.Add(current.Key, current.Value);
         }
     }
     finally {
         enumerator.Dispose();
     }
 }
Example #31
0
		/// <summary> Read a particular segmentFileName.  Note that this may
		/// throw an IOException if a commit is in process.
		/// 
		/// </summary>
		/// <param name="directory">-- directory containing the segments file
		/// </param>
		/// <param name="segmentFileName">-- segment file to load
		/// </param>
		/// <throws>  CorruptIndexException if the index is corrupt </throws>
		/// <throws>  IOException if there is a low-level IO error </throws>
		public void  Read(Directory directory, System.String segmentFileName)
		{
			bool success = false;
			
			// Clear any previous segments:
			Clear();
			
			ChecksumIndexInput input = new ChecksumIndexInput(directory.OpenInput(segmentFileName));
			
			generation = GenerationFromSegmentsFileName(segmentFileName);
			
			lastGeneration = generation;
			
			try
			{
				int format = input.ReadInt();
				if (format < 0)
				{
					// file contains explicit format info
					// check that it is a format we can understand
					if (format < CURRENT_FORMAT)
						throw new CorruptIndexException("Unknown format version: " + format);
					version = input.ReadLong(); // read version
					counter = input.ReadInt(); // read counter
				}
				else
				{
					// file is in old format without explicit format info
					counter = format;
				}
				
				for (int i = input.ReadInt(); i > 0; i--)
				{
					// read segmentInfos
					Add(new SegmentInfo(directory, format, input));
				}
				
				if (format >= 0)
				{
					// in old format the version number may be at the end of the file
					if (input.GetFilePointer() >= input.Length())
						version = (DateTime.Now.Ticks / TimeSpan.TicksPerMillisecond);
					// old file format without version number
					else
						version = input.ReadLong(); // read version
				}
				
				if (format <= FORMAT_USER_DATA)
				{
					if (format <= FORMAT_DIAGNOSTICS)
					{
						userData = input.ReadStringStringMap();
					}
					else if (0 != input.ReadByte())
					{
                        userData = new System.Collections.Generic.Dictionary<string,string>();
						userData.Add("userData", input.ReadString());
					}
					else
					{
                        userData = new System.Collections.Generic.Dictionary<string, string>();
					}
				}
				else
				{
                    userData = new System.Collections.Generic.Dictionary<string, string>();
				}
				
				if (format <= FORMAT_CHECKSUM)
				{
					long checksumNow = input.GetChecksum();
					long checksumThen = input.ReadLong();
					if (checksumNow != checksumThen)
						throw new CorruptIndexException("checksum mismatch in segments file");
				}
				success = true;
			}
			finally
			{
				input.Close();
				if (!success)
				{
					// Clear any segment infos we had loaded so we
					// have a clean slate on retry:
					Clear();
				}
			}
		}
Example #32
0
 public HostBuilderContext(System.Collections.Generic.IDictionary <object, object> properties)
 {
 }
Example #33
0
 private void SetUnpackedValueOfDictStaticKeyAndStaticItem(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictStaticKeyAndStaticItemReadWriteField unpackingContext, System.Collections.Generic.IDictionary <string, string> unpackedValue)
 {
     unpackingContext.DictStaticKeyAndStaticItem = unpackedValue;
 }
 internal static System.Collections.Generic.IEnumerable <object> GetPropertyKeys <K, V>(this System.Collections.Generic.IDictionary <K, V> dictionary)
 {
     if (null != dictionary)
     {
         foreach (var each in dictionary.Keys)
         {
             yield return(each);
         }
     }
 }
 internal static System.Collections.Generic.IEnumerable <System.Collections.Generic.KeyValuePair <K, V> > GetFilteredProperties <K, V>(this System.Collections.Generic.IDictionary <K, V> instance, global::System.Collections.Generic.HashSet <string> exclusions = null, global::System.Collections.Generic.HashSet <string> inclusions = null)
 {
     return((null == instance || instance.Count == 0) ?
            Enumerable.Empty <System.Collections.Generic.KeyValuePair <K, V> >() :
            instance.Keys
            .Where(key =>
                   !(true == exclusions?.Contains(key?.ToString())) &&
                   (false != inclusions?.Contains(key?.ToString())))
            .Select(key => new System.Collections.Generic.KeyValuePair <K, V>(key, instance[key])));
 }
Example #36
0
		public virtual void Clear()
		{
			rapidAccessForSystemClassesByName.Clear();
			rapidAccessForUserClassesByName.Clear();
			rapidAccessForSystemClassesByName = null;
			rapidAccessForUserClassesByName = null;
			allClassInfos.Clear();
		}
        internal static System.Collections.Generic.IDictionary <string, V> FromJson <V>(JsonObject json, System.Collections.Generic.IDictionary <string, V> container, System.Func <JsonObject, V> objectFactory, System.Collections.Generic.HashSet <string> excludes = null)
        {
            if (null == json)
            {
                return(container);
            }

            foreach (var key in json.Keys)
            {
                if (true == excludes?.Contains(key))
                {
                    continue;
                }

                var value = json[key];
                try
                {
                    switch (value.Type)
                    {
                    case JsonType.Null:
                        // skip null values.
                        continue;

                    case JsonType.Array:
                    case JsonType.Boolean:
                    case JsonType.Date:
                    case JsonType.Binary:
                    case JsonType.Number:
                    case JsonType.String:
                        container.Add(key, (V)value.ToValue());
                        break;

                    case JsonType.Object:
                        if (objectFactory != null)
                        {
                            var v = objectFactory(value as JsonObject);
                            if (null != v)
                            {
                                container.Add(key, v);
                            }
                        }
                        break;
                    }
                }
                catch
                {
                }
            }
            return(container);
        }
 private void SetUnpackedValueOfDictPolymorphicItself(MsgPack.Serialization.PolymorphicMemberTypeRuntimeType_Dict_DictPolymorphicItselfPrivateSetterCollectionProperty unpackingContext, System.Collections.Generic.IDictionary <string, string> unpackedValue)
 {
     System.Collections.Generic.IDictionary <string, string> existent = default(System.Collections.Generic.IDictionary <string, string>);
     existent = unpackingContext.DictPolymorphicItself;
     if ((existent == null))
     {
         this._methodBasePolymorphicMemberTypeRuntimeType_Dict_DictPolymorphicItselfPrivateSetterCollectionProperty_set_DictPolymorphicItself0.Invoke(unpackingContext, new object[] {
             unpackedValue
         });
     }
     else
     {
         System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <string, string> > enumerator = unpackedValue.GetEnumerator();
         System.Collections.Generic.KeyValuePair <string, string> current;
         try {
             for (
                 ; enumerator.MoveNext();
                 )
             {
                 current = enumerator.Current;
                 existent.Add(current.Key, current.Value);
             }
         }
         finally {
             enumerator.Dispose();
         }
     }
 }
		public virtual void ResetClassInfoIds()
		{
			classInfoIds = new NeoDatis.Tool.Wrappers.Map.OdbHashMap<string, NeoDatis.Odb.OID
				>();
		}
		public virtual void SetCurrentCIs(System.Collections.Generic.IDictionary<string, 
			NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo> currentCIs)
		{
			this.currentCIs = currentCIs;
		}
 public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary <string, string> properties)
 {
 }
Example #42
0
        static StackObject *Ctor_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Collections.Generic.IEqualityComparer <System.String> comparer = (System.Collections.Generic.IEqualityComparer <System.String>) typeof(System.Collections.Generic.IEqualityComparer <System.String>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);
            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Collections.Generic.IDictionary <System.String, UnityEngine.GameObject> dictionary = (System.Collections.Generic.IDictionary <System.String, UnityEngine.GameObject>) typeof(System.Collections.Generic.IDictionary <System.String, UnityEngine.GameObject>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = new System.Collections.Generic.Dictionary <System.String, UnityEngine.GameObject>(dictionary, comparer);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
 public static System.Collections.Generic.IDictionary <string, string> FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary <string, string> extensionSdks)
 {
     throw null;
 }
Example #44
0
/// <summary>
/// Copies the column values into the given Dictionary using the database column name
/// with a prefixed @ as the key. The keys must already exist in the Dictionary;
/// this method will not create them if they are missing.
/// </summary>
/// <param name="dic">The Dictionary to copy the values into.</param>
        public void CopyValues(System.Collections.Generic.IDictionary <System.String, System.Object> dic)
        {
            CopyValues(this, dic);
        }
Example #45
0
 public ConstantExpressionReplacementVisitor(
     System.Collections.Generic.IDictionary<string, object> paramValues)
 {
     _paramValues = paramValues;
 }
Example #46
0
/// <summary>
/// Copies the column values into the given Dictionary using the database column name
/// with a prefixed @ as the key. The keys must already exist in the Dictionary;
/// this method will not create them if they are missing.
/// </summary>
/// <param name="source">The object to copy the values from.</param>
/// <param name="dic">The Dictionary to copy the values into.</param>
        public static void CopyValues(IShopTable source, System.Collections.Generic.IDictionary <System.String, System.Object> dic)
        {
            dic["can_buy"] = (System.Boolean)source.CanBuy;
            dic["id"]      = (NetGore.Features.Shops.ShopID)source.ID;
            dic["name"]    = (System.String)source.Name;
        }
		public CheckMetaModelCompatibilityMessage(string baseId, string sessionId, System.Collections.Generic.IDictionary
			<string, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo> currentCIs) : base(NeoDatis.Odb.Core.Server.Layers.Layer3.Engine.Command
			.CheckMetaModelCompatibility, baseId, sessionId)
		{
			this.currentCIs = currentCIs;
		}
 private void SetUnpackedValueOfDictObjectKeyAndItem(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndItemReadWriteProperty unpackingContext, System.Collections.Generic.IDictionary <object, object> unpackedValue)
 {
     unpackingContext.DictObjectKeyAndItem = unpackedValue;
 }
			internal ReaderCommit(SegmentInfos infos, Directory dir)
			{
				segmentsFileName = infos.GetCurrentSegmentFileName();
				this.dir = dir;
				userData = infos.GetUserData();
                files = infos.Files(dir, true);
				version = infos.GetVersion();
				generation = infos.GetGeneration();
				isOptimized = infos.Count == 1 && !infos.Info(0).HasDeletions();
			}
Example #50
0
        private static void PopulateParseTable()
        {
            _parseTable =
                new System.Collections.Generic.Dictionary<int, System.Collections.Generic.IDictionary<int, int[]>>();

            TableAddRow(ParserToken.Array);
            TableAddCol(ParserToken.Array, '[',
                        '[',
                        (int) ParserToken.ArrayPrime);

            TableAddRow(ParserToken.ArrayPrime);
            TableAddCol(ParserToken.ArrayPrime, '"',
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, '[',
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, ']',
                        ']');
            TableAddCol(ParserToken.ArrayPrime, '{',
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, (int) ParserToken.Number,
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, (int) ParserToken.True,
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, (int) ParserToken.False,
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');
            TableAddCol(ParserToken.ArrayPrime, (int) ParserToken.Null,
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest,
                        ']');

            TableAddRow(ParserToken.Object);
            TableAddCol(ParserToken.Object, '{',
                        '{',
                        (int) ParserToken.ObjectPrime);

            TableAddRow(ParserToken.ObjectPrime);
            TableAddCol(ParserToken.ObjectPrime, '"',
                        (int) ParserToken.Pair,
                        (int) ParserToken.PairRest,
                        '}');
            TableAddCol(ParserToken.ObjectPrime, '}',
                        '}');

            TableAddRow(ParserToken.Pair);
            TableAddCol(ParserToken.Pair, '"',
                        (int) ParserToken.String,
                        ':',
                        (int) ParserToken.Value);

            TableAddRow(ParserToken.PairRest);
            TableAddCol(ParserToken.PairRest, ',',
                        ',',
                        (int) ParserToken.Pair,
                        (int) ParserToken.PairRest);
            TableAddCol(ParserToken.PairRest, '}',
                        (int) ParserToken.Epsilon);

            TableAddRow(ParserToken.String);
            TableAddCol(ParserToken.String, '"',
                        '"',
                        (int) ParserToken.CharSeq,
                        '"');

            TableAddRow(ParserToken.Text);
            TableAddCol(ParserToken.Text, '[',
                        (int) ParserToken.Array);
            TableAddCol(ParserToken.Text, '{',
                        (int) ParserToken.Object);

            TableAddRow(ParserToken.Value);
            TableAddCol(ParserToken.Value, '"',
                        (int) ParserToken.String);
            TableAddCol(ParserToken.Value, '[',
                        (int) ParserToken.Array);
            TableAddCol(ParserToken.Value, '{',
                        (int) ParserToken.Object);
            TableAddCol(ParserToken.Value, (int) ParserToken.Number,
                        (int) ParserToken.Number);
            TableAddCol(ParserToken.Value, (int) ParserToken.True,
                        (int) ParserToken.True);
            TableAddCol(ParserToken.Value, (int) ParserToken.False,
                        (int) ParserToken.False);
            TableAddCol(ParserToken.Value, (int) ParserToken.Null,
                        (int) ParserToken.Null);

            TableAddRow(ParserToken.ValueRest);
            TableAddCol(ParserToken.ValueRest, ',',
                        ',',
                        (int) ParserToken.Value,
                        (int) ParserToken.ValueRest);
            TableAddCol(ParserToken.ValueRest, ']',
                        (int) ParserToken.Epsilon);
        }
Example #51
0
		private void FillAttributesMap()
		{
			ClassAttributeInfo cai = null;
			if (attributesByName == null)
			{
				attributesByName = new OdbHashMap<string, ClassAttributeInfo>();
				attributesById = new OdbHashMap<int, ClassAttributeInfo>();
			}
			// attributesMap.clear();
			for (int i = 0; i < attributes.Count; i++)
			{
				cai = attributes[i];
				attributesByName[cai.GetName()] = cai;
				attributesById[cai.GetId()] = cai;
			}
		}
 public SerializableDictionary(System.Collections.Generic.IDictionary <TKey, TVal> dictionary) : base(dictionary)
 {
     //empty
 }
Example #53
0
		// must be Map<String, String>
        internal void SetDiagnostics(System.Collections.Generic.IDictionary<string, string> diagnostics)
		{
			this.diagnostics = diagnostics;
		}
 internal static void HashTableToDictionary <V>(System.Collections.Hashtable hashtable, System.Collections.Generic.IDictionary <string, V> dictionary)
 {
     foreach (var each in hashtable.Keys)
     {
         var key   = each.ToString();
         var value = hashtable[key];
         if (null != value)
         {
             if (value is System.Collections.Hashtable nested)
             {
                 HashTableToDictionary <V>(nested, new System.Collections.Generic.Dictionary <string, V>());
             }
             else
             {
                 try
                 {
                     dictionary[key] = (V)value;
                 }
                 catch
                 {
                     // Values getting dropped; not compatible with target dictionary. Not sure what to do here.
                 }
             }
         }
     }
 }
Example #55
0
        internal void SetUserData(System.Collections.Generic.IDictionary<string, string> data)
		{
			if (data == null)
			{
				userData = new System.Collections.Generic.Dictionary<string,string>();
			}
			else
			{
				userData = data;
			}
		}
Example #56
0
 private void SetUnpackedValueOfDictStaticKeyAndPolymorphicItem(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Dict_DictStaticKeyAndPolymorphicItemReadWriteProperty unpackingContext, System.Collections.Generic.IDictionary <string, MsgPack.Serialization.FileSystemEntry> unpackedValue)
 {
     unpackingContext.DictStaticKeyAndPolymorphicItem = unpackedValue;
 }
Example #57
0
            public CommitPoint(IndexFileDeleter enclosingInstance, System.Collections.ICollection commitsToDelete, Directory directory, SegmentInfos segmentInfos)
            {
                InitBlock(enclosingInstance);
                this.directory = directory;
                this.commitsToDelete = commitsToDelete;
                userData = segmentInfos.GetUserData();
                segmentsFileName = segmentInfos.GetCurrentSegmentFileName();
                version = segmentInfos.GetVersion();
                generation = segmentInfos.GetGeneration();
                files = segmentInfos.Files(directory, true);
                gen = segmentInfos.GetGeneration();
                isOptimized = segmentInfos.Count == 1 && !segmentInfos.Info(0).HasDeletions();

                System.Diagnostics.Debug.Assert(!segmentInfos.HasExternalSegments(directory));
            }
 public SerializableDictionary(System.Collections.Generic.IDictionary <TKey, TVal> dictionary, System.Collections.Generic.IEqualityComparer <TKey> comparer) : base(dictionary, comparer)
 {
     //empty
 }
Example #59
0
 protected virtual void OnPropertyChanging(string propertyName, object value)
 {
     if ((null == this._originalValues)) {
         this._originalValues = new System.Collections.Generic.Dictionary<string, object>();
     }
     if ((false == this._originalValues.ContainsKey(propertyName))) {
         this._originalValues.Add(propertyName, value);
     }
     if ((null != this.PropertyChanging)) {
         this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName));
     }
 }
Example #60
0
 public MsgPack_Serialization_PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructorSerializer(MsgPack.Serialization.SerializationContext context) :
     base(context, (MsgPack.Serialization.SerializerCapabilities.PackTo | MsgPack.Serialization.SerializerCapabilities.UnpackFrom))
 {
     MsgPack.Serialization.PolymorphismSchema   schema0           = default(MsgPack.Serialization.PolymorphismSchema);
     MsgPack.Serialization.PolymorphismSchema[] tupleItemsSchema0 = default(MsgPack.Serialization.PolymorphismSchema[]);
     tupleItemsSchema0 = new MsgPack.Serialization.PolymorphismSchema[7];
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema0 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchemaTypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchemaTypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchemaTypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchemaTypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema0     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchemaTypeMap0);
     tupleItemsSchema0[0] = tupleItemSchema0;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema1 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema1TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema1TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema1TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema1TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema1     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema1TypeMap0);
     tupleItemsSchema0[1] = tupleItemSchema1;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema2 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema2TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema2TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema2TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema2TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema2     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema2TypeMap0);
     tupleItemsSchema0[2] = tupleItemSchema2;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema3 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema3TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema3TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema3TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema3TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema3     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema3TypeMap0);
     tupleItemsSchema0[3] = tupleItemSchema3;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema4 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema4TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema4TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema4TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema4TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema4     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema4TypeMap0);
     tupleItemsSchema0[4] = tupleItemSchema4;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema5 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema5TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema5TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema5TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema5TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema5     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema5TypeMap0);
     tupleItemsSchema0[5] = tupleItemSchema5;
     MsgPack.Serialization.PolymorphismSchema tupleItemSchema6 = default(MsgPack.Serialization.PolymorphismSchema);
     System.Collections.Generic.Dictionary <string, System.Type> tupleItemSchema6TypeMap0 = default(System.Collections.Generic.Dictionary <string, System.Type>);
     tupleItemSchema6TypeMap0 = new System.Collections.Generic.Dictionary <string, System.Type>(2);
     tupleItemSchema6TypeMap0.Add("0", typeof(MsgPack.Serialization.FileEntry));
     tupleItemSchema6TypeMap0.Add("1", typeof(MsgPack.Serialization.DirectoryEntry));
     tupleItemSchema6     = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicObject(typeof(MsgPack.Serialization.FileSystemEntry), tupleItemSchema6TypeMap0);
     tupleItemsSchema0[6] = tupleItemSchema6;
     schema0           = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicTuple(typeof(System.Tuple <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>), tupleItemsSchema0);
     this._serializer0 = context.GetSerializer <System.Tuple <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> >(schema0);
     this._methodBasePolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor_set_Tuple7AllPolymorphic0 = MsgPack.Serialization.ReflectionHelpers.GetMethod(typeof(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor), "set_Tuple7AllPolymorphic", new System.Type[] {
         typeof(System.Tuple <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>)
     });
     System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor>[] packOperationList = default(System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor>[]);
     packOperationList       = new System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor> [1];
     packOperationList[0]    = new System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor>(this.PackValueOfTuple7AllPolymorphic);
     this._packOperationList = packOperationList;
     System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] packOperationListAsync = default(System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
     packOperationListAsync       = new System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task> [1];
     packOperationListAsync[0]    = new System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.PackValueOfTuple7AllPolymorphicAsync);
     this._packOperationListAsync = packOperationListAsync;
     System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor> > packOperationTable = default(System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor> >);
     packOperationTable = new System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor> >(1);
     packOperationTable["Tuple7AllPolymorphic"] = new System.Action <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor>(this.PackValueOfTuple7AllPolymorphic);
     this._packOperationTable = packOperationTable;
     System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task> > packOperationTableAsync = default(System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task> >);
     packOperationTableAsync = new System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task> >(1);
     packOperationTableAsync["Tuple7AllPolymorphic"] = new System.Func <MsgPack.Packer, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.PackValueOfTuple7AllPolymorphicAsync);
     this._packOperationTableAsync = packOperationTableAsync;
     System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, bool> > nullCheckerTable = default(System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, bool> >);
     nullCheckerTable = new System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, bool> >(1);
     nullCheckerTable["Tuple7AllPolymorphic"] = new System.Func <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, bool>(this.IsTuple7AllPolymorphicNull);
     this._nullCheckersTable = nullCheckerTable;
     System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int>[] unpackOperationList = default(System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int>[]);
     unpackOperationList       = new System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int> [1];
     unpackOperationList[0]    = new System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int>(this.UnpackValueOfTuple7AllPolymorphic);
     this._unpackOperationList = unpackOperationList;
     System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] unpackOperationListAsync = default(System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
     unpackOperationListAsync       = new System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task> [1];
     unpackOperationListAsync[0]    = new System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.UnpackValueOfTuple7AllPolymorphicAsync);
     this._unpackOperationListAsync = unpackOperationListAsync;
     System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int> > unpackOperationTable = default(System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int> >);
     unpackOperationTable = new System.Collections.Generic.Dictionary <string, System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int> >(1);
     unpackOperationTable["Tuple7AllPolymorphic"] = new System.Action <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int>(this.UnpackValueOfTuple7AllPolymorphic);
     this._unpackOperationTable = unpackOperationTable;
     System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task> > unpackOperationTableAsync = default(System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task> >);
     unpackOperationTableAsync = new System.Collections.Generic.Dictionary <string, System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task> >(1);
     unpackOperationTableAsync["Tuple7AllPolymorphic"] = new System.Func <MsgPack.Unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.UnpackValueOfTuple7AllPolymorphicAsync);
     this._unpackOperationTableAsync = unpackOperationTableAsync;
     this._memberNames = new string[] {
         "Tuple7AllPolymorphic"
     };
     this.this_SetUnpackedValueOfTuple7AllPolymorphicDelegate = new System.Action <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Tuple_Tuple7AllPolymorphicPrivateSetterPropertyAndConstructor, System.Tuple <MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> >(this.SetUnpackedValueOfTuple7AllPolymorphic);
 }