• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# SecureLevel类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中SecureLevel的典型用法代码示例。如果您正苦于以下问题:C# SecureLevel类的具体用法?C# SecureLevel怎么用?C# SecureLevel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SecureLevel类属于命名空间,在下文中一共展示了SecureLevel类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Result

        public Result(Age a, Sex s, Profession p, Education e, YesNo cit, 
		               List<Technology> tech, Frequency pub, Frequency home,
		               NumPass single, List<PassType> passType, Frequency pChange,
		               YesNo sharePass,YesNo pSecure, YesNo passHome,YesNo pMobile, 
		               YesNo hWifiPass, YesNo hWifiFire, YesNo hVirusSoftware, YesNo softUpdate, 
		               SecureLevel sLevel, SharePersonalInfo postPersonal, Frequency pWifi)
        {
            m_age = a;
            m_sex = s;
            m_profession = p;
            m_education = e;
            m_usCitizen = cit;
            m_technologyList = tech;
            m_publicComputer = pub;
            m_homeComputer = home;
            m_singlePass = single;
            m_passType = passType;
            m_passChangeFreq = pChange;
            m_sharePassword = sharePass;
            m_passSecure = pSecure;
            m_passHomePC = passHome;
            m_passForMobile = pMobile;
            m_homeWifiPass = hWifiPass;
            m_homeWifiFirewall = hWifiFire;
            m_homeVirusSoftware = hVirusSoftware;
            m_softwareUpdates = softUpdate;
            m_securityLevel = sLevel;
            m_postPersonalInfo = postPersonal;
            m_publicWifi = pWifi;
        }
开发者ID:pdg6868,项目名称:SecurityTool,代码行数:30,代码来源:Result.cs


示例2: DaviesLockerAddon

        public DaviesLockerAddon(bool south, List<DaviesLockerEntry> list)
        {
            m_South = south;
            m_Entries = list;
            m_Level = SecureLevel.CoOwners;

            if (south)
            {
                AddComponent(new DaviesLockerComponent(19455), 0, 0, 0);
                AddComponent(new DaviesLockerComponent(19456), 1, 0, 0);
                AddComponent(new DaviesLockerComponent(19457), 2, 0, 0);
                AddComponent(new DaviesLockerComponent(19453), 0, 1, 0);
                AddComponent(new DaviesLockerComponent(19452), 1, 1, 0);
                AddComponent(new DaviesLockerComponent(19454), 2, 1, 0);
            }
            else
            {
                AddComponent(new DaviesLockerComponent(19449), 0, 0, 0);
                AddComponent(new DaviesLockerComponent(19448), 1, 0, 0);
                AddComponent(new DaviesLockerComponent(19450), 0, 1, 0);
                AddComponent(new DaviesLockerComponent(19447), 1, 1, 0);
                AddComponent(new DaviesLockerComponent(19451), 0, 2, 0);
                AddComponent(new DaviesLockerComponent(19446), 1, 2, 0);
            }
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:25,代码来源:DaviesLocker.cs


示例3: ChickenCoop

        public ChickenCoop()
            : base(0x4513)
        {
            Weight = 20;
            m_Level = SecureLevel.CoOwners;
			ItemValue = ItemValue.Rare;
        }
开发者ID:romeov007,项目名称:imagine-uo,代码行数:7,代码来源:ChickenCoop.cs


示例4: Deserialize

        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            switch ( version )
            {
                case 1:
                    {
                        m_Level = (SecureLevel) reader.ReadInt();
                        goto case 0;
                    }
                case 0:
                    {
                        if ( version < 1 )
                        {
                            m_Level = SecureLevel.Anyone;
                        }

                        m_Facing = (DoorFacing) reader.ReadInt();
                        break;
                    }
            }
        }
开发者ID:Ravenwolfe,项目名称:xrunuo,代码行数:25,代码来源:HouseDoors.cs


示例5: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();

			m_Level = (SecureLevel) reader.ReadEncodedInt();
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:8,代码来源:TapestryOfSosaria.cs


示例6: HouseTeleporter

		public HouseTeleporter( int itemID, Item target ) : base( itemID )
		{
			Movable = false;

			m_Level = SecureLevel.Anyone;

			m_Target = target;
		}
开发者ID:zerodowned,项目名称:angelisland,代码行数:8,代码来源:HouseTeleporter.cs


示例7: EternalEmbers

		public EternalEmbers() : base( 0xDE1 )
		{
			Stackable = false;
			Weight = 5.0;
			isLit = false;
			Name = "eternal embers";
			m_Level = SecureLevel.CoOwners;

		}
开发者ID:zerodowned,项目名称:angelisland,代码行数:9,代码来源:EternalEmbers.cs


示例8: BulkOrderBook

		public BulkOrderBook() : base( 0x2259 )
		{
			Weight = 1.0;
			LootType = LootType.Blessed;

			m_Entries = new ArrayList();
			m_Filter = new BOBFilter();

			m_Level = SecureLevel.CoOwners;
		}
开发者ID:nydehi,项目名称:runuomondains,代码行数:10,代码来源:BulkOrderBook.cs


示例9: CorruptedCrystalPortal

	public CorruptedCrystalPortal() : base()
	{	
	    //Weight = 20;
	    ItemID = 18059;
	    Hue = 1164;
	    Name = "Corrupted Crystal Portal";
	    Movable = true;
	    LootType = LootType.Blessed;
	    m_Level = SecureLevel.Anyone;
	}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:10,代码来源:CorruptedCrystalPortal.cs


示例10: HitchingPost

		public HitchingPost()
			: base(0x14E7)
		{
			Weight = 10;

			Charges = 2;
			UsesRemaining = 15;

			m_Level = SecureLevel.CoOwners;
		}
开发者ID:nydehi,项目名称:runuomondains,代码行数:10,代码来源:HitchingPost.cs


示例11: HitchingPost

        public HitchingPost()
            : base(0x14E7)
        {
            this.Weight = 10;

            this.Charges = 2;
            this.UsesRemaining = 15;

            this.m_Level = SecureLevel.CoOwners;
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:10,代码来源:HitchingPost.cs


示例12: CrystalPortal

        public CrystalPortal()
        {
            Hue = 1159;
            ItemID = 18059;
            Name = "Crystal Portal";
            Movable = true;
            LootType = LootType.Blessed;

            Level = SecureLevel.CoOwners;
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:10,代码来源:CrystalPortal.cs


示例13: GetFirstID

		public int GetFirstID( SecureLevel level )
		{
		    if (m_Info != null)
		    {
		        return (m_Info.Level == level) ? 4006 : 4005;
		    }
		    else
		    {
		        return 4005;
		    }
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:11,代码来源:SetSecureLevelGump.cs


示例14: PlantItem

        public PlantItem( bool fertileDirt )
            : base(0x1602)
        {
            Weight = 1.0;

            m_PlantStatus = PlantStatus.BowlOfDirt;
            m_PlantSystem = new PlantSystem( this, fertileDirt );
            m_Level = SecureLevel.CoOwners;

            m_Instances.Add( this );
        }
开发者ID:Ravenwolfe,项目名称:xrunuo,代码行数:11,代码来源:PlantItem.cs


示例15: TamingBulkOrderBook

		public TamingBulkOrderBook() : base( 0x2259 )
		{
			Name = "taming bulk order book";
			Weight = 1.0;
			LootType = LootType.Blessed;

			m_Entries = new ArrayList();
			m_Filter = new TamingBOBFilter();

			m_Level = SecureLevel.CoOwners;
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:11,代码来源:TamingBulkOrderBook.cs


示例16: Deserialize

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();

			if ( version == 1 )
				m_Level = (SecureLevel)reader.ReadInt();

			if ( Weight == 1.0 )
				Weight = 5.0;
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:11,代码来源:BaseBoard.cs


示例17: MahjongGame

        public MahjongGame()
            : base(0xFAA)
        {
            this.Weight = 5.0;

            this.BuildWalls();
            this.m_DealerIndicator = new MahjongDealerIndicator(this, new Point2D(300, 300), MahjongPieceDirection.Up, MahjongWind.North);
            this.m_WallBreakIndicator = new MahjongWallBreakIndicator(this, new Point2D(335, 335));
            this.m_Dices = new MahjongDices(this);
            this.m_Players = new MahjongPlayers(this, MaxPlayers, BaseScore);
            this.m_LastReset = DateTime.UtcNow;
            this.m_Level = SecureLevel.CoOwners;
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:13,代码来源:MahjongGame.cs


示例18: PowerScrollBook

        public PowerScrollBook()
            : base(0x2259)
        {
            Name = "Power Scroll Book";
            Weight = 1.0;
            Hue = 1153;

            m_BookCapacity = 50;
            m_Entries = new ArrayList();
            m_Filter = new PowerScrollFilter();

            m_Level = SecureLevel.CoOwners;
        }
开发者ID:ITLongwell,项目名称:aedilis2server,代码行数:13,代码来源:PowerScrollAccBook.cs


示例19: Deserialize

        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            switch ( version )
            {
                case 1:
                    {
                        m_Level = (SecureLevel) reader.ReadEncodedInt();
                        break;
                    }
            }
        }
开发者ID:Ravenwolfe,项目名称:xrunuo,代码行数:15,代码来源:TenthAnniversarySculpture.cs


示例20: Runebook

		public Runebook( int maxCharges ) : base( Core.AOS ? 0x22C5 : 0xEFA )
		{
			Weight = (Core.SE ? 1.0 : 3.0);
			LootType = LootType.Blessed;
			Hue = 0x461;

			Layer = Layer.OneHanded;

			m_Entries = new ArrayList();

			m_MaxCharges = maxCharges;

			m_DefaultIndex = -1;

			m_Level = SecureLevel.CoOwners;
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:16,代码来源:Runebook.cs



注:本文中的SecureLevel类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# SecureQueryString类代码示例发布时间:2022-05-24
下一篇:
C# Sector类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap