Inheritance: Object
Beispiel #1
0
        public void Populate() {
            var Profile1 = new Profile {
                Title = "Main Profile",
                Fingerprint = "blahdy blah" };
            Selector.Add(Profile1);

            var Profile2 = new Profile {
                Title = "Site Profile",
                Fingerprint = "More blahdy blah"
                };
            Selector.Add(Profile2);


            Profile1.Devices = new List<Device>();
            var Device1 = new Device {
                Title = "Voodoo" };
            Profile1.Devices.Add(Device1);

            var Device2 = new Device {
                Title = "iPad"};
            Profile1.Devices.Add(Device2);

            var Device3 = new Device {
                Title = "Router"};
            Profile1.Devices.Add(Device3);


            }
		public virtual void Administrator (Device Device) {
			}
Beispiel #3
0
        public void Populate() {
            var Profile1 = new Profile {
                Title = "Main Profile",
                };
            Profile1.Fingerprint.Value = "blahhhh";

            Selector.Add(Profile1);

            var Profile2 = new Profile {
                Title = "Site Profile"
                };
            Profile2.Fingerprint.Value = "More blahdy blah";
            Selector.Add(Profile2);


            Profile1.Devices.Value = new List<Goedel.Trojan.Object>();
            var Device1 = new Device {
                Title = "Voodoo" };
            Profile1.Devices.Value.Add(Device1);

            var Device2 = new Device {
                Title = "iPad" };
            Profile1.Devices.Value.Add(Device2);

            var Device3 = new Device {
                Title = "Router" };
            Profile1.Devices.Value.Add(Device3);


            }