コード例 #1
0
ファイル: GetAzureDiskCommand.cs プロジェクト: nickchal/pash
		private static DiskContext.RoleReference CreateRoleReference(RoleReference roleReference)
		{
			if (roleReference != null)
			{
				DiskContext.RoleReference deploymentName = new DiskContext.RoleReference();
				deploymentName.DeploymentName = roleReference.DeploymentName;
				deploymentName.HostedServiceName = roleReference.HostedServiceName;
				deploymentName.RoleName = roleReference.RoleName;
				return deploymentName;
			}
			else
			{
				return null;
			}
		}