/// <summary>
		/// This method creates an instance of DesignerDiagram based on the tag currently pointed by the reader. The reader is guaranteed (by the caller)
		/// to be pointed at a serialized instance of DesignerDiagram.
		/// </summary>
		/// <remarks>
		/// The caller will guarantee that the reader is positioned at open XML tag of the ModelRoot instance being read. This method should
		/// not move the reader; the reader should remain at the same position when this method returns.
		/// </remarks>
		/// <param name="serializationContext">Serialization context.</param>
		/// <param name="reader">XmlReader to read serialized data from.</param>
		/// <param name="partition">Partition in which new DesignerDiagram instance should be created.</param>	
		/// <returns>Created DesignerDiagram instance.</returns>
		protected override DslModeling::ModelElement CreateInstance(DslModeling::SerializationContext serializationContext, global::System.Xml.XmlReader reader, DslModeling::Partition partition)
		{
			string idStr = reader.GetAttribute ("Id");
			try
			{
				global::System.Guid id;
				if (string.IsNullOrEmpty(idStr))
				{	// Create a default Id.
					id = global::System.Guid.NewGuid();
					FamilyTreeDSLSerializationBehaviorSerializationMessages.MissingId(serializationContext, reader, id);
				}
				else
				{
					id = new global::System.Guid (idStr);
				}
				return new DesignerDiagram(partition, new DslModeling::PropertyAssignment(DslModeling::ElementFactory.IdPropertyAssignment, id));
			}
		catch (global::System.ArgumentNullException /* anEx */)
		{	
			FamilyTreeDSLSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
		}
		catch (global::System.FormatException /* fEx */)
		{
			FamilyTreeDSLSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
		}
		catch (global::System.OverflowException /* ofEx */)
		{
			FamilyTreeDSLSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
		}
			return null;
		}		
Ejemplo n.º 2
0
 private static void @__ctorGuid1(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle @__obj, uint a, ushort b, ushort c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k)
 {
     // (ISSBBBBBBBB)V
     // (LSystem/UInt32;LSystem/UInt16;LSystem/UInt16;BBBBBBBB)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
     global::System.Guid @__real = new global::System.Guid(a, b, c, d, e, f, g, h, i, j, k);
     global::net.sf.jni4net.utils.Convertor.InitProxy(@__env, @__obj, @__real);
     }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
 }
Ejemplo n.º 3
0
 private static void @__ctorGuid3(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle @__obj, int a, short b, short c, global::net.sf.jni4net.utils.JniLocalHandle d)
 {
     // (ISS[B)V
     // (ISS[B)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
     global::System.Guid @__real = new global::System.Guid(a, b, c, global::net.sf.jni4net.utils.Convertor.ArrayPrimJ2Cbyte(@__env, d));
     global::net.sf.jni4net.utils.Convertor.InitProxy(@__env, @__obj, @__real);
     }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
 }
Ejemplo n.º 4
0
 private static void @__ctorGuid2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle g)
 {
     // (Ljava/lang/String;)V
     // (LSystem/String;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
     global::System.Guid @__real = new global::System.Guid(global::net.sf.jni4net.utils.Convertor.StrongJ2CString(@__env, g));
     global::net.sf.jni4net.utils.Convertor.InitProxy(@__env, @__obj, @__real);
     }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
 }
        /// <summary>
        /// This method creates an instance of AblaufbausteinShape based on the tag currently pointed by the reader. The reader is guaranteed (by the caller)
        /// to be pointed at a serialized instance of AblaufbausteinShape.
        /// </summary>
        /// <remarks>
        /// The caller will guarantee that the reader is positioned at open XML tag of the ModelRoot instance being read. This method should
        /// not move the reader; the reader should remain at the same position when this method returns.
        /// </remarks>
        /// <param name="serializationContext">Serialization context.</param>
        /// <param name="reader">XmlReader to read serialized data from.</param>
        /// <param name="partition">Partition in which new AblaufbausteinShape instance should be created.</param>	
        /// <returns>Created AblaufbausteinShape instance.</returns>
        protected override ModelElement CreateInstance(SerializationContext serializationContext, global::System.Xml.XmlReader reader, Partition partition)
        {
            string idStr = reader.GetAttribute("Id");
            try
            {
                global::System.Guid id;
                if (string.IsNullOrEmpty(idStr))
                {	// Create a default Id.
                    id = global::System.Guid.NewGuid();
                    TestDslDefinitionSerializationBehaviorSerializationMessages.MissingId(serializationContext, reader, id);
                }
                else
                {
                    id = new global::System.Guid(idStr);
                }

                string elementIdStr = reader.GetAttribute("internalElementId");
                if (string.IsNullOrEmpty(elementIdStr))
                {
                    return null;
                }
                else
                {
                    global::System.Guid elementId = new global::System.Guid(elementIdStr);
                    ModelElement element = null;
                    if (elementId != System.Guid.Empty)
                        element = partition.ElementDirectory.FindElement(elementId);

                    if (element == null || !(element is IDomainModelOwnable))
                        return null;

                    return (element as IDomainModelOwnable).GetDomainModelServices().TopMostService.ShapeProvider.CreateShapeForElement(this.GetShapeClassId(), element,
                        new PropertyAssignment[]{ new PropertyAssignment(ElementFactory.IdPropertyAssignment, id)});
                }
            }
            catch (global::System.ArgumentNullException /* anEx */)
            {
                TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
            }
            catch (global::System.FormatException /* fEx */)
            {
                TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
            }
            catch (global::System.OverflowException /* ofEx */)
            {
                TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
            }
            return null;
        }		
Ejemplo n.º 6
0
        public static Customer CreateCustomer(int customerID, bool nameStyle, string firstName, string lastName, string passwordHash, string passwordSalt, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            Customer customer = new Customer();

            customer.CustomerID   = customerID;
            customer.NameStyle    = nameStyle;
            customer.FirstName    = firstName;
            customer.LastName     = lastName;
            customer.PasswordHash = passwordHash;
            customer.PasswordSalt = passwordSalt;
            customer.rowguid      = rowguid;
            customer.ModifiedDate = modifiedDate;
            return(customer);
        }
Ejemplo n.º 7
0
 public static void MakePhoneCallWithVideo(global::System.Guid phoneLine, string phoneNumber, global::Windows.Phone.Notification.Management.PhoneCallAudioEndpoint endPoint)
 {
     global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Phone.Notification.Management.AccessoryManager", "void AccessoryManager.MakePhoneCallWithVideo(Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint)");
 }
/// <summary>
/// Initialize the template
/// </summary>
public virtual void Initialize()
{
    if ((this.Errors.HasErrors == false))
    {
bool ModuleProjectGuidValueAcquired = false;
if (this.Session.ContainsKey("ModuleProjectGuid"))
{
    if ((typeof(global::System.Guid).IsAssignableFrom(this.Session["ModuleProjectGuid"].GetType()) == false))
    {
        this.Error("The type \'System.Guid\' of the parameter \'ModuleProjectGuid\' did not match the typ" +
                "e of the data passed to the template.");
    }
    else
    {
        this._ModuleProjectGuidField = ((global::System.Guid)(this.Session["ModuleProjectGuid"]));
        ModuleProjectGuidValueAcquired = true;
    }
}
if ((ModuleProjectGuidValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("ModuleProjectGuid");
    if ((data != null))
    {
        if ((typeof(global::System.Guid).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.Guid\' of the parameter \'ModuleProjectGuid\' did not match the typ" +
                    "e of the data passed to the template.");
        }
        else
        {
            this._ModuleProjectGuidField = ((global::System.Guid)(data));
        }
    }
}
bool ModuleNameValueAcquired = false;
if (this.Session.ContainsKey("ModuleName"))
{
    if ((typeof(string).IsAssignableFrom(this.Session["ModuleName"].GetType()) == false))
    {
        this.Error("The type \'System.String\' of the parameter \'ModuleName\' did not match the type of " +
                "the data passed to the template.");
    }
    else
    {
        this._ModuleNameField = ((string)(this.Session["ModuleName"]));
        ModuleNameValueAcquired = true;
    }
}
if ((ModuleNameValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("ModuleName");
    if ((data != null))
    {
        if ((typeof(string).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.String\' of the parameter \'ModuleName\' did not match the type of " +
                    "the data passed to the template.");
        }
        else
        {
            this._ModuleNameField = ((string)(data));
        }
    }
}
bool FileIncludesValueAcquired = false;
if (this.Session.ContainsKey("FileIncludes"))
{
    if ((typeof(string).IsAssignableFrom(this.Session["FileIncludes"].GetType()) == false))
    {
        this.Error("The type \'System.String\' of the parameter \'FileIncludes\' did not match the type o" +
                "f the data passed to the template.");
    }
    else
    {
        this._FileIncludesField = ((string)(this.Session["FileIncludes"]));
        FileIncludesValueAcquired = true;
    }
}
if ((FileIncludesValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("FileIncludes");
    if ((data != null))
    {
        if ((typeof(string).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.String\' of the parameter \'FileIncludes\' did not match the type o" +
                    "f the data passed to the template.");
        }
        else
        {
            this._FileIncludesField = ((string)(data));
        }
    }
}
bool CoeveryReferencesValueAcquired = false;
if (this.Session.ContainsKey("CoeveryReferences"))
{
    if ((typeof(string).IsAssignableFrom(this.Session["CoeveryReferences"].GetType()) == false))
    {
        this.Error("The type \'System.String\' of the parameter \'CoeveryReferences\' did not match the t" +
                "ype of the data passed to the template.");
    }
    else
    {
        this._CoeveryReferencesField = ((string)(this.Session["CoeveryReferences"]));
        CoeveryReferencesValueAcquired = true;
    }
}
if ((CoeveryReferencesValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("CoeveryReferences");
    if ((data != null))
    {
        if ((typeof(string).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.String\' of the parameter \'CoeveryReferences\' did not match the t" +
                    "ype of the data passed to the template.");
        }
        else
        {
            this._CoeveryReferencesField = ((string)(data));
        }
    }
}


    }
}
 partial void OnIdChanging(global::System.Guid value);
Ejemplo n.º 10
0
 public static global::Windows.Phone.Notification.Management.PhoneLineDetails GetPhoneLineDetails(global::System.Guid phoneLine)
 {
     throw new global::System.NotImplementedException("The member PhoneLineDetails AccessoryManager.GetPhoneLineDetails(Guid phoneLine) is not implemented in Uno.");
 }
Ejemplo n.º 11
0
		/// <summary>
		/// This method creates an instance of GraphicalDependenciesDiagramReferencesMainElementShape based on the tag currently pointed by the reader. The reader is guaranteed (by the caller)
		/// to be pointed at a serialized instance of GraphicalDependenciesDiagramReferencesMainElementShape.
		/// </summary>
		/// <remarks>
		/// The caller will guarantee that the reader is positioned at open XML tag of the ModelRoot instance being read. This method should
		/// not move the reader; the reader should remain at the same position when this method returns.
		/// </remarks>
		/// <param name="serializationContext">Serialization context.</param>
		/// <param name="reader">XmlReader to read serialized data from.</param>
		/// <param name="partition">Partition in which new GraphicalDependenciesDiagramReferencesMainElementShape instance should be created.</param>	
		/// <returns>Created GraphicalDependenciesDiagramReferencesMainElementShape instance.</returns>
		protected override DslModeling::ModelElement CreateInstance(DslModeling::SerializationContext serializationContext, global::System.Xml.XmlReader reader, DslModeling::Partition partition)
		{
			string idStr = reader.GetAttribute ("Id");
			try
			{
				global::System.Guid id;
				if (string.IsNullOrEmpty(idStr))
				{	// Create a default Id.
					id = global::System.Guid.NewGuid();
					TestDslDefinitionSerializationBehaviorSerializationMessages.MissingId(serializationContext, reader, id);
				}
				else
				{
					id = new global::System.Guid (idStr);
				}
				// Create the link with place-holder role-players.
				return new GraphicalDependenciesDiagramReferencesMainElementShape(
					partition,
					new DslModeling::RoleAssignment[] {
						DslModeling::RoleAssignment.CreatePlaceholderRoleAssignment (GraphicalDependenciesDiagramReferencesMainElementShape.GraphicalDependenciesDiagramDomainRoleId), 
						DslModeling::RoleAssignment.CreatePlaceholderRoleAssignment (GraphicalDependenciesDiagramReferencesMainElementShape.NodeShapeDomainRoleId)
					},
					new DslModeling::PropertyAssignment[] {
						new DslModeling::PropertyAssignment(DslModeling::ElementFactory.IdPropertyAssignment, id)
					}
				);
			}
			catch (global::System.ArgumentNullException /* anEx */)
			{	
				TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			catch (global::System.FormatException /* fEx */)
			{
				TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			catch (global::System.OverflowException /* ofEx */)
			{
				TestDslDefinitionSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			return null;
		}
Ejemplo n.º 12
0
 /// <summary>
 /// Constructs a new FeatureModelDSLDocDataBase.
 /// </summary>
 protected FeatureModelDSLDocDataBase(global::System.IServiceProvider serviceProvider, global::System.Guid editorFactoryId) : base(serviceProvider, editorFactoryId)
 {
 }
Ejemplo n.º 13
0
 public global::Windows.Storage.Streams.IBuffer GetMetadata(global::System.Guid Key)
 {
     throw new global::System.NotImplementedException("The member IBuffer DisplaySource.GetMetadata(Guid Key) is not implemented in Uno.");
 }
Ejemplo n.º 14
0
 public static global::Windows.Foundation.IAsyncOperation <global::Windows.Graphics.Imaging.BitmapEncoder> CreateAsync(global::System.Guid encoderId, global::Windows.Storage.Streams.IRandomAccessStream stream)
 {
     throw new global::System.NotImplementedException("The member IAsyncOperation<BitmapEncoder> BitmapEncoder.CreateAsync(Guid encoderId, IRandomAccessStream stream) is not implemented in Uno.");
 }
Ejemplo n.º 15
0
        /// <summary>
        /// Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id.
        /// Default behavior is to create a prototype containing an instance of the domain class.
        /// Derived classes may override this to add additional information to the prototype.
        /// </summary>
        protected virtual DslModeling::ElementGroupPrototype CreateElementToolPrototype(DslModeling::Store store, global::System.Guid domainClassId)
        {
            DslModeling::ModelElement element      = store.ElementFactory.CreateElement(domainClassId);
            DslModeling::ElementGroup elementGroup = new DslModeling::ElementGroup(store.DefaultPartition);

            elementGroup.AddGraph(element, true);
            return(elementGroup.CreatePrototype());
        }
Ejemplo n.º 16
0
 /// <summary>
 /// Constructs a new FamilyTreeDSLDocDataBase.
 /// </summary>
 /// <param name="modelData">Model data.</param>
 /// <param name="serviceProvider">Service Provider</param>
 /// <param name="editorFactoryId">EditorFactory id.</param>
 protected FamilyTreeDSLDocDataBase(DslEditorModeling::ModelData modelData, global::System.IServiceProvider serviceProvider, global::System.Guid editorFactoryId)
     : base(modelData, serviceProvider, editorFactoryId)
 {
 }
Ejemplo n.º 17
0
 partial void OnStudentUserIdChanging(global::System.Guid value);
Ejemplo n.º 18
0
        public static Grade CreateGrade(int ID, string assessment, global::System.DateTime assessmentDate, int subjectId, global::System.Guid studentUserId)
        {
            Grade grade = new Grade();

            grade.Id             = ID;
            grade.Assessment     = assessment;
            grade.AssessmentDate = assessmentDate;
            grade.SubjectId      = subjectId;
            grade.StudentUserId  = studentUserId;
            return(grade);
        }
Ejemplo n.º 19
0
 partial void OnApplicationIdChanging(global::System.Guid value);
Ejemplo n.º 20
0
public virtual void Initialize()
{
    if ((this.Errors.HasErrors == false))
    {
bool projectGuidValueAcquired = false;
if (this.Session.ContainsKey("projectGuid"))
{
    if ((typeof(global::System.Guid).IsAssignableFrom(this.Session["projectGuid"].GetType()) == false))
    {
        this.Error("The type \'System.Guid\' of the parameter \'projectGuid\' did not match the type of t" +
                "he data passed to the template.");
    }
    else
    {
        this._projectGuidField = ((global::System.Guid)(this.Session["projectGuid"]));
        projectGuidValueAcquired = true;
    }
}
if ((projectGuidValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("projectGuid");
    if ((data != null))
    {
        if ((typeof(global::System.Guid).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.Guid\' of the parameter \'projectGuid\' did not match the type of t" +
                    "he data passed to the template.");
        }
        else
        {
            this._projectGuidField = ((global::System.Guid)(data));
        }
    }
}
bool namespaceValueAcquired = false;
if (this.Session.ContainsKey("namespace"))
{
    if ((typeof(string).IsAssignableFrom(this.Session["namespace"].GetType()) == false))
    {
        this.Error("The type \'System.String\' of the parameter \'namespace\' did not match the type of t" +
                "he data passed to the template.");
    }
    else
    {
        this._namespaceField = ((string)(this.Session["namespace"]));
        namespaceValueAcquired = true;
    }
}
if ((namespaceValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("namespace");
    if ((data != null))
    {
        if ((typeof(string).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.String\' of the parameter \'namespace\' did not match the type of t" +
                    "he data passed to the template.");
        }
        else
        {
            this._namespaceField = ((string)(data));
        }
    }
}
bool includesValueAcquired = false;
if (this.Session.ContainsKey("includes"))
{
    if ((typeof(global::System.Collections.Generic.List<System.String>).IsAssignableFrom(this.Session["includes"].GetType()) == false))
    {
        this.Error("The type \'System.Collections.Generic.List<System.String>\' of the parameter \'inclu" +
                "des\' did not match the type of the data passed to the template.");
    }
    else
    {
        this._includesField = ((global::System.Collections.Generic.List<System.String>)(this.Session["includes"]));
        includesValueAcquired = true;
    }
}
if ((includesValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("includes");
    if ((data != null))
    {
        if ((typeof(global::System.Collections.Generic.List<System.String>).IsAssignableFrom(data.GetType()) == false))
        {
            this.Error("The type \'System.Collections.Generic.List<System.String>\' of the parameter \'inclu" +
                    "des\' did not match the type of the data passed to the template.");
        }
        else
        {
            this._includesField = ((global::System.Collections.Generic.List<System.String>)(data));
        }
    }
}


    }
}
Ejemplo n.º 21
0
 public static global::Windows.Foundation.IAsyncOperation <global::Windows.Graphics.Imaging.BitmapEncoder> CreateAsync(global::System.Guid encoderId, global::Windows.Storage.Streams.IRandomAccessStream stream, global::System.Collections.Generic.IEnumerable <global::System.Collections.Generic.KeyValuePair <string, global::Windows.Graphics.Imaging.BitmapTypedValue> > encodingOptions)
 {
     throw new global::System.NotImplementedException("The member IAsyncOperation<BitmapEncoder> BitmapEncoder.CreateAsync(Guid encoderId, IRandomAccessStream stream, IEnumerable<KeyValuePair<string, BitmapTypedValue>> encodingOptions) is not implemented in Uno.");
 }
Ejemplo n.º 22
0
		/// <summary>
		/// This method creates a Moniker of ManyToOneRelation based on the tag currently pointed by the reader.
		/// </summary>
		/// <remarks>
		/// The caller will guarantee that the reader is positioned at open XML tag of the next element being read. This method should
		/// not move the reader; the reader should remain at the same position when this method returns.
		/// </remarks>		
		/// <param name="serializationContext">Serialization context.</param>
		/// <param name="reader">XmlReader to read serialized data from.</param>
		/// <param name="sourceRolePlayer">The source role-player instance from which the moniker being created is referenced.</param>
		/// <param name="relDomainClassId">The DomainClass Id of the relationship that connects the sourceRolePlayer to the moniker being created.</param>
		/// <param name="partition">The new Moniker should be created in the Store associated with this partition.</param>			
		/// <returns>Created ModelRoot instance, or null if the reader is not pointing to a correct monikerized instance.</returns>
		protected override DslModeling::Moniker CreateMonikerInstance (DslModeling::SerializationContext serializationContext, global::System.Xml.XmlReader reader, DslModeling::ModelElement sourceRolePlayer, global::System.Guid relDomainClassId, DslModeling::Partition partition)
		{
			string monikerString = ActiveWriterSerializationHelper.Instance.ReadAttribute(serializationContext, sourceRolePlayer, reader, MonikerAttributeName);
	
			if (string.IsNullOrEmpty(monikerString))
			{	
				ActiveWriterSerializationBehaviorSerializationMessages.MissingMoniker(serializationContext, reader, MonikerAttributeName);
				return null;
			}
			try
			{	// Normalize the Id.
				global::System.Guid id = new global::System.Guid(monikerString);
				monikerString = id.ToString("D", global::System.Globalization.CultureInfo.CurrentCulture);
				DslModeling::Moniker result = new DslModeling::Moniker(new DslModeling::MonikerKey(monikerString, relDomainClassId, ManyToOneRelation.DomainClassId, partition.Store), partition.Store);
				// Set location info if possible.
				result.Location = serializationContext.Location;
				global::System.Xml.IXmlLineInfo xmlLineInfo = reader as global::System.Xml.IXmlLineInfo;
				if (xmlLineInfo != null)
				{
					result.Line = xmlLineInfo.LineNumber;
					result.Column = xmlLineInfo.LinePosition;
				}
				return result;
			}
			catch (global::System.FormatException /* fEx */)
			{
				ActiveWriterSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, MonikerAttributeName, typeof(global::System.Guid), monikerString);
				return null;
			}
			catch (global::System.OverflowException /* oEx */)
			{	
				ActiveWriterSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, MonikerAttributeName, typeof(global::System.Guid), monikerString);
				return null;
			}
		}
Ejemplo n.º 23
0
 partial void OnRowKeyChanging(global::System.Guid value);
Ejemplo n.º 24
0
 /// <summary>
 /// Constructs a new DRMRRBRRMProyectoIPSDocDataBase.
 /// </summary>
 protected DRMRRBRRMProyectoIPSDocDataBase(global::System.IServiceProvider serviceProvider, global::System.Guid editorFactoryId) : base(serviceProvider, editorFactoryId)
 {
 }
Ejemplo n.º 25
0
 public global::Windows.Foundation.IAsyncOperation <global::Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult> GetCharacteristicsForUuidAsync(global::System.Guid characteristicUuid)
 {
     throw new global::System.NotImplementedException("The member IAsyncOperation<GattCharacteristicsResult> GattDeviceService.GetCharacteristicsForUuidAsync(Guid characteristicUuid) is not implemented in Uno.");
 }
Ejemplo n.º 26
0
 internal static void ParseURI(IServiceProvider _locator, Revenj.Utility.ChunkedMemoryStream _cms, string URI, out global::System.Guid ID)
 {
     ID = _DatabaseCommon.Utility.ToGuid(URI);
 }
Ejemplo n.º 27
0
 public void SetEncoderProperty(global::Windows.Media.Capture.MediaStreamType mediaStreamType, global::System.Guid propertyId, object propertyValue)
 {
     global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Media.Capture.MediaCapture", "void MediaCapture.SetEncoderProperty(MediaStreamType mediaStreamType, Guid propertyId, object propertyValue)");
 }
 /// <summary>
 /// Get an entity of type global::Foo.NamespacePrefixWithDoubleNamespaces2.EntityType as global::Foo.NamespacePrefixWithDoubleNamespaces2.EntityTypeSingle specified by key from an entity set
 /// </summary>
 /// <param name="_source">source entity set</param>
 /// <param name="id">The value of id</param>
 public static global::Foo.NamespacePrefixWithDoubleNamespaces2.EntityTypeSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery <global::Foo.NamespacePrefixWithDoubleNamespaces2.EntityType> _source,
                                                                                       global::System.Guid id)
 {
     global::System.Collections.Generic.IDictionary <string, object> _keys = new global::System.Collections.Generic.Dictionary <string, object>
     {
         { "Id", id }
     };
     return(new global::Foo.NamespacePrefixWithDoubleNamespaces2.EntityTypeSingle(_source.Context, _source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(_source.Context, _keys))));
 }
Ejemplo n.º 29
0
 public static aspnet_Profile Createaspnet_Profile(global::System.Guid userId, string propertyNames, string propertyValuesString, byte[] propertyValuesBinary, global::System.DateTime lastUpdatedDate)
 {
     aspnet_Profile aspnet_Profile = new aspnet_Profile();
     aspnet_Profile.UserId = userId;
     aspnet_Profile.PropertyNames = propertyNames;
     aspnet_Profile.PropertyValuesString = propertyValuesString;
     aspnet_Profile.PropertyValuesBinary = propertyValuesBinary;
     aspnet_Profile.LastUpdatedDate = lastUpdatedDate;
     return aspnet_Profile;
 }
Ejemplo n.º 30
0
 public static void MakePhoneCall(global::System.Guid phoneLine, string phoneNumber)
 {
     global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Phone.Notification.Management.AccessoryManager", "void AccessoryManager.MakePhoneCall(Guid phoneLine, string phoneNumber)");
 }
Ejemplo n.º 31
0
 public static vw_aspnet_Profile Createvw_aspnet_Profile(global::System.Guid userId, global::System.DateTime lastUpdatedDate)
 {
     vw_aspnet_Profile vw_aspnet_Profile = new vw_aspnet_Profile();
     vw_aspnet_Profile.UserId = userId;
     vw_aspnet_Profile.LastUpdatedDate = lastUpdatedDate;
     return vw_aspnet_Profile;
 }
Ejemplo n.º 32
0
 public static void SnoozeAlarm(global::System.Guid alarmId, global::System.TimeSpan timeSpan)
 {
     global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Phone.Notification.Management.AccessoryManager", "void AccessoryManager.SnoozeAlarm(Guid alarmId, TimeSpan timeSpan)");
 }
Ejemplo n.º 33
0
 public global::Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService GetGattService(global::System.Guid serviceUuid)
 {
     throw new global::System.NotImplementedException("The member GattDeviceService BluetoothLEDevice.GetGattService(Guid serviceUuid) is not implemented in Uno.");
 }
Ejemplo n.º 34
0
 public global::Windows.Foundation.IAsyncOperation <global::Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult> GetIncludedServicesForUuidAsync(global::System.Guid serviceUuid, global::Windows.Devices.Bluetooth.BluetoothCacheMode cacheMode)
 {
     throw new global::System.NotImplementedException("The member IAsyncOperation<GattDeviceServicesResult> GattDeviceService.GetIncludedServicesForUuidAsync(Guid serviceUuid, BluetoothCacheMode cacheMode) is not implemented in Uno.");
 }
Ejemplo n.º 35
0
 public object GetEncoderProperty(global::Windows.Media.Capture.MediaStreamType mediaStreamType, global::System.Guid propertyId)
 {
     throw new global::System.NotImplementedException("The member object MediaCapture.GetEncoderProperty(MediaStreamType mediaStreamType, Guid propertyId) is not implemented in Uno.");
 }
Ejemplo n.º 36
0
 public static aspnet_Membership Createaspnet_Membership(global::System.Guid userId, string password, int passwordFormat, string passwordSalt, bool isApproved, bool isLockedOut, global::System.DateTime createDate, global::System.DateTime lastLoginDate, global::System.DateTime lastPasswordChangedDate, global::System.DateTime lastLockoutDate, int failedPasswordAttemptCount, global::System.DateTime failedPasswordAttemptWindowStart, int failedPasswordAnswerAttemptCount, global::System.DateTime failedPasswordAnswerAttemptWindowStart, global::System.Guid applicationId)
 {
     aspnet_Membership aspnet_Membership = new aspnet_Membership();
     aspnet_Membership.UserId = userId;
     aspnet_Membership.Password = password;
     aspnet_Membership.PasswordFormat = passwordFormat;
     aspnet_Membership.PasswordSalt = passwordSalt;
     aspnet_Membership.IsApproved = isApproved;
     aspnet_Membership.IsLockedOut = isLockedOut;
     aspnet_Membership.CreateDate = createDate;
     aspnet_Membership.LastLoginDate = lastLoginDate;
     aspnet_Membership.LastPasswordChangedDate = lastPasswordChangedDate;
     aspnet_Membership.LastLockoutDate = lastLockoutDate;
     aspnet_Membership.FailedPasswordAttemptCount = failedPasswordAttemptCount;
     aspnet_Membership.FailedPasswordAttemptWindowStart = failedPasswordAttemptWindowStart;
     aspnet_Membership.FailedPasswordAnswerAttemptCount = failedPasswordAnswerAttemptCount;
     aspnet_Membership.FailedPasswordAnswerAttemptWindowStart = failedPasswordAnswerAttemptWindowStart;
     aspnet_Membership.ApplicationId = applicationId;
     return aspnet_Membership;
 }
Ejemplo n.º 37
0
 public static string GetDeviceSelectorForBluetoothDeviceIdAndUuid(global::Windows.Devices.Bluetooth.BluetoothDeviceId bluetoothDeviceId, global::System.Guid serviceUuid, global::Windows.Devices.Bluetooth.BluetoothCacheMode cacheMode)
 {
     throw new global::System.NotImplementedException("The member string GattDeviceService.GetDeviceSelectorForBluetoothDeviceIdAndUuid(BluetoothDeviceId bluetoothDeviceId, Guid serviceUuid, BluetoothCacheMode cacheMode) is not implemented in Uno.");
 }
Ejemplo n.º 38
0
 public static aspnet_UsersInRole Createaspnet_UsersInRole(global::System.Guid userId, global::System.Guid roleId)
 {
     aspnet_UsersInRole aspnet_UsersInRole = new aspnet_UsersInRole();
     aspnet_UsersInRole.UserId = userId;
     aspnet_UsersInRole.RoleId = roleId;
     return aspnet_UsersInRole;
 }
Ejemplo n.º 39
0
 public static string GetDeviceSelectorFromUuid(global::System.Guid serviceUuid)
 {
     throw new global::System.NotImplementedException("The member string GattDeviceService.GetDeviceSelectorFromUuid(Guid serviceUuid) is not implemented in Uno.");
 }
Ejemplo n.º 40
0
 public static vw_aspnet_UsersInRole Createvw_aspnet_UsersInRole(global::System.Guid userId, global::System.Guid roleId)
 {
     vw_aspnet_UsersInRole vw_aspnet_UsersInRole = new vw_aspnet_UsersInRole();
     vw_aspnet_UsersInRole.UserId = userId;
     vw_aspnet_UsersInRole.RoleId = roleId;
     return vw_aspnet_UsersInRole;
 }
Ejemplo n.º 41
0
 public global::System.Collections.Generic.IReadOnlyList <global::Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService> GetIncludedServices(global::System.Guid serviceUuid)
 {
     throw new global::System.NotImplementedException("The member IReadOnlyList<GattDeviceService> GattDeviceService.GetIncludedServices(Guid serviceUuid) is not implemented in Uno.");
 }
Ejemplo n.º 42
0
 public static global::Windows.Foundation.IAsyncOperation <global::Windows.ApplicationModel.Store.FulfillmentResult> ReportConsumableFulfillmentAsync(string productId, global::System.Guid transactionId)
 {
     throw new global::System.NotImplementedException("The member IAsyncOperation<FulfillmentResult> CurrentAppSimulator.ReportConsumableFulfillmentAsync(string productId, Guid transactionId) is not implemented in Uno.");
 }
Ejemplo n.º 43
0
 partial void OnDocumentIdChanging(global::System.Guid value);
Ejemplo n.º 44
0
		/// <summary>
		/// This method creates an instance of ManyToOneRelation based on the tag currently pointed by the reader. The reader is guaranteed (by the caller)
		/// to be pointed at a serialized instance of ManyToOneRelation.
		/// </summary>
		/// <remarks>
		/// The caller will guarantee that the reader is positioned at open XML tag of the ModelRoot instance being read. This method should
		/// not move the reader; the reader should remain at the same position when this method returns.
		/// </remarks>
		/// <param name="serializationContext">Serialization context.</param>
		/// <param name="reader">XmlReader to read serialized data from.</param>
		/// <param name="partition">Partition in which new ManyToOneRelation instance should be created.</param>	
		/// <returns>Created ManyToOneRelation instance.</returns>
		protected override DslModeling::ModelElement CreateInstance(DslModeling::SerializationContext serializationContext, global::System.Xml.XmlReader reader, DslModeling::Partition partition)
		{
			string idStr = reader.GetAttribute ("Id");
			try
			{
				global::System.Guid id;
				if (string.IsNullOrEmpty(idStr))
				{	// Create a default Id.
					id = global::System.Guid.NewGuid();
					ActiveWriterSerializationBehaviorSerializationMessages.MissingId(serializationContext, reader, id);
				}
				else
				{
					id = new global::System.Guid (idStr);
				}
				// Create the link with place-holder role-players.
				return new ManyToOneRelation(
					partition,
					new DslModeling::RoleAssignment[] {
						DslModeling::RoleAssignment.CreatePlaceholderRoleAssignment (ManyToOneRelation.SourceDomainRoleId), 
						DslModeling::RoleAssignment.CreatePlaceholderRoleAssignment (ManyToOneRelation.TargetDomainRoleId)
					},
					new DslModeling::PropertyAssignment[] {
						new DslModeling::PropertyAssignment(DslModeling::ElementFactory.IdPropertyAssignment, id)
					}
				);
			}
			catch (global::System.ArgumentNullException /* anEx */)
			{	
				ActiveWriterSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			catch (global::System.FormatException /* fEx */)
			{
				ActiveWriterSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			catch (global::System.OverflowException /* ofEx */)
			{
				ActiveWriterSerializationBehaviorSerializationMessages.InvalidPropertyValue(serializationContext, reader, "Id", typeof(global::System.Guid), idStr);
			}
			return null;
		}
 partial void OnLineReferenceIdChanging(global::System.Guid value);
Ejemplo n.º 46
0
		/// <summary>
		/// Get the Partition where diagram data will be loaded into.
		/// Base implementation returns the default partition of the store.
		/// </summary>
		protected internal virtual DslModeling::Partition GetDiagramPartition()
		{
			DslModeling::Partition result = null;
			if (this.Store != null)
			{
				if (this.diagramPartitionId == global::System.Guid.Empty || !this.Store.Partitions.TryGetValue(this.diagramPartitionId, out result))
				{
					result = new DslModeling::Partition(this.Store);
					this.diagramPartitionId = result.Id;
				}
			}
			
			return result;
		}
		internal static void Proc_out_rg_Guid__(
					global::System.__ComObject __this, 
					out global::System.Guid[] value, 
					global::System.RuntimeTypeHandle __typeHnd, 
					int __targetIndex)
		{
			// Setup
			global::System.Guid* unsafe_value = default(global::System.Guid*);
			uint unsafe_value_mcgLength = 0;
			int unsafe___return__;
			try
			{
				// Marshalling
				unsafe_value = null;
				// Call to native method
				unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT(
									__this, 
									__typeHnd, 
									__targetIndex, 
									&(unsafe_value_mcgLength), 
									&(unsafe_value)
								);
				global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode();
				if (unsafe_value == null)
					value = null;
				else
				{
					value = new global::System.Guid[unsafe_value_mcgLength];
					if (value != null)
						for (uint mcgIdx = 0; (mcgIdx < unsafe_value_mcgLength); mcgIdx++)
						{
							// [fwd] [out] [managedbyref] [nativebyref] [optional] [Mcg.CodeGen.BlittableValueMarshaller] System_Guid__System.Guid value
							value[mcgIdx] = unsafe_value[mcgIdx];
						}
				}
				// Return
			}
			finally
			{
				// Cleanup
				global::System.Runtime.InteropServices.ExternalInterop.SafeCoTaskMemFree(unsafe_value);
			}
		}