コード例 #1
0
	// Create a new property within the shared group.
	public SharedProperty CreateProperty(String name, out bool fExists)
			{
				SharedProperty property;
				property = (SharedProperty)(table[name]);
				if(property != null)
				{
					fExists = true;
					return property;
				}
				property = new SharedProperty();
				table[name] = property;
				fExists = false;
				return property;
			}
コード例 #2
0
ファイル: SharedPropertyGroup.cs プロジェクト: ForNeVeR/pnet
        // Create a new property within the shared group.
        public SharedProperty CreateProperty(String name, out bool fExists)
        {
            SharedProperty property;

            property = (SharedProperty)(table[name]);
            if (property != null)
            {
                fExists = true;
                return(property);
            }
            property    = new SharedProperty();
            table[name] = property;
            fExists     = false;
            return(property);
        }
コード例 #3
0
	public SharedProperty CreatePropertyByPosition
				(int position, out bool fExists)
			{
				SharedProperty property;
				property = (SharedProperty)(table[position]);
				if(property != null)
				{
					fExists = true;
					return property;
				}
				property = new SharedProperty();
				table[position] = property;
				fExists = false;
				return property;
			}
コード例 #4
0
ファイル: SharedPropertyGroup.cs プロジェクト: ForNeVeR/pnet
        public SharedProperty CreatePropertyByPosition
            (int position, out bool fExists)
        {
            SharedProperty property;

            property = (SharedProperty)(table[position]);
            if (property != null)
            {
                fExists = true;
                return(property);
            }
            property        = new SharedProperty();
            table[position] = property;
            fExists         = false;
            return(property);
        }